]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
fs: load the ->i_sb pointer once in inode_sb_list_{add,del}
authorMateusz Guzik <mjguzik@gmail.com>
Wed, 19 Mar 2025 00:46:35 +0000 (01:46 +0100)
committerChristian Brauner <brauner@kernel.org>
Wed, 19 Mar 2025 08:28:13 +0000 (09:28 +0100)
commit5a607aa94398760585579649f0881d2d354f4e00
tree9de84ef5437d0f66864d54bee1b0559d9f39b045
parenteb7e453a83007d019d718c6b3666a1c082b676b0
fs: load the ->i_sb pointer once in inode_sb_list_{add,del}

While this may sound like a pedantic clean up, it does in fact impact
code generation -- the patched add routine is slightly smaller.

Signed-off-by: Mateusz Guzik <mjguzik@gmail.com>
Link: https://lore.kernel.org/r/20250319004635.1820589-1-mjguzik@gmail.com
Signed-off-by: Christian Brauner <brauner@kernel.org>
fs/inode.c