summaryrefslogtreecommitdiff
path: root/fs/9p
diff options
context:
space:
mode:
authorJoakim Sindholt <opensource@zhasha.com>2024-03-18 12:22:32 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-05-17 11:56:09 +0200
commitba2adb442277de5890b7b416e4059d1a503be6d6 (patch)
tree3fd86a84d51b87c45aee33327c4bae7e259d6373 /fs/9p
parentd063d13af7dcddab2ee48b390b12d517de965855 (diff)
downloadlinux-ba2adb442277de5890b7b416e4059d1a503be6d6.tar.gz
linux-ba2adb442277de5890b7b416e4059d1a503be6d6.tar.bz2
linux-ba2adb442277de5890b7b416e4059d1a503be6d6.zip
fs/9p: drop inodes immediately on non-.L too
[ 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>
Diffstat (limited to 'fs/9p')
-rw-r--r--fs/9p/vfs_super.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/9p/vfs_super.c b/fs/9p/vfs_super.c
index 2d9ee073d12c..7c35347f1d9b 100644
--- a/fs/9p/vfs_super.c
+++ b/fs/9p/vfs_super.c
@@ -342,6 +342,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,