Gitweb: http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=ead5f0b5fa41dd3649a44bfc922d06641ff3dbcf Commit: ead5f0b5fa41dd3649a44bfc922d06641ff3dbcf Parent: 889f784831d6cc9125a74eb55a5641f95635a204 Author: Miklos Szeredi <[EMAIL PROTECTED]> AuthorDate: Wed May 23 13:57:54 2007 -0700 Committer: Linus Torvalds <[EMAIL PROTECTED]> CommitDate: Wed May 23 20:14:13 2007 -0700
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 <[EMAIL PROTECTED]> Signed-off-by: Andrew Morton <[EMAIL PROTECTED]> Signed-off-by: Linus Torvalds <[EMAIL PROTECTED]> --- 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 78f7a1d..9804c0c 100644 --- a/fs/fuse/inode.c +++ b/fs/fuse/inode.c @@ -454,6 +454,7 @@ static const struct super_operations fuse_super_operations = { .destroy_inode = fuse_destroy_inode, .read_inode = fuse_read_inode, .clear_inode = fuse_clear_inode, + .drop_inode = generic_delete_inode, .remount_fs = fuse_remount_fs, .put_super = fuse_put_super, .umount_begin = fuse_umount_begin, - To unsubscribe from this list: send the line "unsubscribe git-commits-head" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html