]> git.ipfire.org Git - thirdparty/linux.git/commit
fs: touch up predicts in putname()
authorMateusz Guzik <mjguzik@gmail.com>
Wed, 29 Oct 2025 13:49:52 +0000 (14:49 +0100)
committerChristian Brauner <brauner@kernel.org>
Fri, 31 Oct 2025 12:18:08 +0000 (13:18 +0100)
commit20052f2ef08a74e09a655e70e41abe648b63a9e1
treeef742e5edde6eee9833bb15fd4b178eafda674e2
parent0bbb838f385aa7073510b727706a9c0215c8cd9f
fs: touch up predicts in putname()

1. we already expect the refcount is 1.
2. path creation predicts name == iname

I verified this straightens out the asm, no functional changes.

Signed-off-by: Mateusz Guzik <mjguzik@gmail.com>
Link: https://patch.msgid.link/20251029134952.658450-1-mjguzik@gmail.com
Reviewed-by: Jan Kara <jack@suse.cz>
Signed-off-by: Christian Brauner <brauner@kernel.org>
fs/namei.c