diff options
author | Miklos Szeredi <mszeredi@suse.cz> | 2007-05-23 16:57:54 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-05-23 23:14:13 -0400 |
commit | ead5f0b5fa41dd3649a44bfc922d06641ff3dbcf (patch) | |
tree | 0e41d72560f57f5427b90fe5f32b8aeddd930ca6 /fs/fuse/inode.c | |
parent | 889f784831d6cc9125a74eb55a5641f95635a204 (diff) |
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>
Diffstat (limited to 'fs/fuse/inode.c')
-rw-r--r-- | fs/fuse/inode.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/fuse/inode.c b/fs/fuse/inode.c index 78f7a1dc90dd..9804c0cdcb42 100644 --- a/fs/fuse/inode.c +++ b/fs/fuse/inode.c | |||
@@ -454,6 +454,7 @@ static const struct super_operations fuse_super_operations = { | |||
454 | .destroy_inode = fuse_destroy_inode, | 454 | .destroy_inode = fuse_destroy_inode, |
455 | .read_inode = fuse_read_inode, | 455 | .read_inode = fuse_read_inode, |
456 | .clear_inode = fuse_clear_inode, | 456 | .clear_inode = fuse_clear_inode, |
457 | .drop_inode = generic_delete_inode, | ||
457 | .remount_fs = fuse_remount_fs, | 458 | .remount_fs = fuse_remount_fs, |
458 | .put_super = fuse_put_super, | 459 | .put_super = fuse_put_super, |
459 | .umount_begin = fuse_umount_begin, | 460 | .umount_begin = fuse_umount_begin, |