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
2019-08-13 12:29:00 +02:00
2019-04-25 11:01:33 +00:00
2019-04-11 12:18:04 +02:00
2019-09-02 11:40:22 +02:00
2019-09-02 15:21:56 +02:00
2019-06-07 13:14:03 +02:00
2019-08-22 13:44:57 +02:00
Description
No description provided
14 MiB
Languages
Rust 88.1%
JavaScript 11.3%
Makefile 0.3%
CSS 0.2%