summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMateusz Guzik <mjguzik@gmail.com>2026-04-23 20:04:31 +0300
committerChristian Brauner <brauner@kernel.org>2026-05-12 00:12:29 +0300
commit5b451b76c85c8309d2e02caa467b38f5999c986f (patch)
treeb8d307566f61c19af253c75643a1bc47fe28c6bf
parent62c251278f3bdaed72ddf980113bd8065475061f (diff)
downloadlinux-5b451b76c85c8309d2e02caa467b38f5999c986f.tar.xz
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 <mjguzik@gmail.com> Link: https://patch.msgid.link/20260423170431.1483370-1-mjguzik@gmail.com Reviewed-by: Jan Kara <jack@suse.cz> Signed-off-by: Christian Brauner <brauner@kernel.org>
-rw-r--r--fs/inode.c4
1 files changed, 0 insertions, 4 deletions
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;