]> www.infradead.org Git - users/jedix/linux-maple.git/commit
vfs: Remove invalidate_inodes()
authorJan Kara <jack@suse.cz>
Fri, 7 Mar 2025 14:43:19 +0000 (15:43 +0100)
committerChristian Brauner <brauner@kernel.org>
Sat, 8 Mar 2025 11:19:22 +0000 (12:19 +0100)
commit93fd0d46cbf7bc35a3a912c913b4f074955119c7
tree82d9b3ed3cb40d8d7388e9aa0c2b44311ee89866
parent66447acc09dc77addb06875c987dbe22844635f3
vfs: Remove invalidate_inodes()

The function can be replaced by evict_inodes. The only difference is
that evict_inodes() skips the inodes with positive refcount without
touching ->i_lock, but they are equivalent as evict_inodes() repeats the
refcount check after having grabbed ->i_lock.

Signed-off-by: Jan Kara <jack@suse.cz>
Link: https://lore.kernel.org/r/20250307144318.28120-2-jack@suse.cz
Signed-off-by: Christian Brauner <brauner@kernel.org>
Documentation/filesystems/porting.rst
fs/inode.c
fs/internal.h
fs/smb/client/file.c
fs/super.c
security/landlock/fs.c