fs/9p: drop inodes immediately on non-.L too
authorJoakim Sindholt <opensource@zhasha.com>
Mon, 18 Mar 2024 11:22:32 +0000 (12:22 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 17 May 2024 09:50:55 +0000 (11:50 +0200)
[ Upstream commit 7fd524b9bd1be210fe79035800f4bd78a41b349f ]

Signed-off-by: Joakim Sindholt <opensource@zhasha.com>
Signed-off-by: Eric Van Hensbergen <ericvh@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
fs/9p/vfs_super.c

index 7449f7fd47d2298eeaee4fe61a172a91d743e81a..51ac2653984a785123d341c853627c2649580b00 100644 (file)
@@ -340,6 +340,7 @@ static const struct super_operations v9fs_super_ops = {
        .alloc_inode = v9fs_alloc_inode,
        .free_inode = v9fs_free_inode,
        .statfs = simple_statfs,
+       .drop_inode = v9fs_drop_inode,
        .evict_inode = v9fs_evict_inode,
        .show_options = v9fs_show_options,
        .umount_begin = v9fs_umount_begin,