]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
fs: retire stale lock ordering annotations from inode hash
authorMateusz Guzik <mjguzik@gmail.com>
Thu, 23 Apr 2026 17:04:31 +0000 (19:04 +0200)
committerChristian Brauner <brauner@kernel.org>
Mon, 11 May 2026 21:12:29 +0000 (23:12 +0200)
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>
fs/inode.c

index 8dc36f221256f835c8974cd1f2903b7e7835127f..8aa45abd6d35b595f69126cfe1c1171ff4cf2d00 100644 (file)
  *   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;