diff options
author | Amir Goldstein <amir73il@gmail.com> | 2021-06-12 17:37:13 +0300 |
---|---|---|
committer | Nikolaus Rath <Nikolaus@rath.org> | 2021-06-14 09:13:12 +0100 |
commit | 80f2b8b469d97349d87cfd59725cbc7c19959bf6 (patch) | |
tree | 96a378dfd67f3cbadcf30a80d803d3cb8c7d3e31 /lib | |
parent | 10ecd4fda404f3403e571a7dbfe6bb295d0f208b (diff) | |
download | libfuse-80f2b8b469d97349d87cfd59725cbc7c19959bf6.tar.gz |
passthrough_hp: excercise reusing inode numbers
Before last unlink() release the reference on inode.fd to allow reuse
of underlying fs inode number, mark the server inode "deleted" and bump
it's generation counter.
When same inode number is found on lookup(), the server inode object will
be reused as well.
Skip this when inode has an open file and when writeback cache is enabled.
This will be used to verify inode reuse bug fix in the kernel.
Signed-off-by: Amir Goldstein <amir73il@gmail.com>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions