From: Mateusz Guzik Date: Thu, 23 Apr 2026 17:04:31 +0000 (+0200) Subject: fs: retire stale lock ordering annotations from inode hash X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=5b451b76c85c8309d2e02caa467b38f5999c986f;p=thirdparty%2Fkernel%2Flinux.git fs: retire stale lock ordering annotations from inode hash 1. iunique does not take the hash lock as of: 3f19b2ab97a97b41 ("vfs, afs, ext4: Make the inode hash table RCU searchable") 2. s_inode_list_lock is no longer taken under the hash lock as of: c918f15420e336a9 ("fs: call inode_sb_list_add() outside of inode hash lock") Signed-off-by: Mateusz Guzik Link: https://patch.msgid.link/20260423170431.1483370-1-mjguzik@gmail.com Reviewed-by: Jan Kara Signed-off-by: Christian Brauner --- diff --git a/fs/inode.c b/fs/inode.c index 8dc36f221256..8aa45abd6d35 100644 --- a/fs/inode.c +++ b/fs/inode.c @@ -53,11 +53,7 @@ * inode->i_lock * * inode_hash_lock - * inode->i_sb->s_inode_list_lock * inode->i_lock - * - * iunique_lock - * inode_hash_lock */ static unsigned int i_hash_mask __ro_after_init;