]> git.proxmox.com Git - proxmox-backup.git/commit
pxar::fuse: impl readdirplus callback
authorChristian Ebner <c.ebner@proxmox.com>
Fri, 10 Jan 2020 16:37:33 +0000 (17:37 +0100)
committerDietmar Maurer <dietmar@proxmox.com>
Mon, 13 Jan 2020 10:17:34 +0000 (11:17 +0100)
commit6de36b94b1bae34a9ebb8a7251a83a3286fbe3de
treee714c00546e13e65f7bd5fd8a476a4b30c904b00
parentcaa201d895573c96b0535960a04f9883167521ff
pxar::fuse: impl readdirplus callback

readdirplus returns the entries together with their `EntryParam`, so subsequent
lookups for each of the entries are avoided.
In order to reduce code duplication, the code for filling the reply buffer is
moved into a macro.

Signed-off-by: Christian Ebner <c.ebner@proxmox.com>
src/pxar/fuse.rs