fuse: delete inode on drop
When inode is dropped (no more references) delete it from cache. There's not much point in keeping it cached, when a new lookup will refresh the attributes anyway. Signed-off-by: Miklos Szeredi <mszeredi@suse.cz> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
889f784831
commit
ead5f0b5fa
@ -454,6 +454,7 @@ static const struct super_operations fuse_super_operations = {
|
|||||||
.destroy_inode = fuse_destroy_inode,
|
.destroy_inode = fuse_destroy_inode,
|
||||||
.read_inode = fuse_read_inode,
|
.read_inode = fuse_read_inode,
|
||||||
.clear_inode = fuse_clear_inode,
|
.clear_inode = fuse_clear_inode,
|
||||||
|
.drop_inode = generic_delete_inode,
|
||||||
.remount_fs = fuse_remount_fs,
|
.remount_fs = fuse_remount_fs,
|
||||||
.put_super = fuse_put_super,
|
.put_super = fuse_put_super,
|
||||||
.umount_begin = fuse_umount_begin,
|
.umount_begin = fuse_umount_begin,
|
||||||
|
Loading…
Reference in New Issue
Block a user