]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
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 10:14:49 +0000 (12:14 +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 941f7d0e0bfa27e67aa34a9c7eebec3a65fc6f99..23cc67f29af2028c73a2b2a2f4bc67713f2761b3 100644 (file)
@@ -310,6 +310,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,