proxmox-backup/src/pxar
Christian Ebner 48cc1b8234 src/pxar/fuse.rs: refactor stat and fix i-node mapping
The functionality of stat is split into smaller sub-functions, which allows
to reuse them more flexible, as the code flow is similar but not always the same.
By this, the ugly and incorrect re-setting of the i-node in the lookup callback
function is avoided.
The correct i-node is now calculated beforehand and stat simply creates a
`libc::stat` struct from the provided parameters.
Also, this fixes incorrect i-node assignments in the readdir callback function.

Signed-off-by: Christian Ebner <c.ebner@proxmox.com>
2019-09-11 11:26:55 +02:00
..
binary_search_tree.rs src/pxar/binary_search_tree.rs: fix test 2019-03-15 11:34:31 +01:00
catalog.rs src/backup/catalog_blob.rs: moved catalog impl. from pxar 2019-08-16 12:27:17 +02:00
decoder.rs src/pxar/decoder.rs: read_link has to read filename before entry. 2019-09-10 11:36:04 +02:00
dir_stack.rs src/pxar/dir_stack.rs: style fixups 2019-08-23 09:39:14 +02:00
encoder.rs src/pxar/encoder.rs: style fixups by rustfmt 2019-08-22 13:29:11 +02:00
flags.rs use new proxmox::sys::linux::magic 2019-08-03 09:28:57 +02:00
format_definition.rs src/pxar/format_definitions.rs: move header type in PxarHeader and hash in PxarGoodbyeItem to top of struct 2019-09-04 06:14:30 +02:00
fuse.rs src/pxar/fuse.rs: refactor stat and fix i-node mapping 2019-09-11 11:26:55 +02:00
helper.rs src/pxar/encoder.rs: Refactor file stat 2019-05-28 06:23:49 +02:00
match_pattern.rs src/pxar/match_pattern.rs: style fixups 2019-08-23 09:37:56 +02:00
sequential_decoder.rs src/pxar/sequential_decoder.rs: make functions needed in non-sequential decoder accessible from within crate 2019-09-04 06:15:05 +02:00