]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
inode: clarify what's locked
authorChristian Brauner <brauner@kernel.org>
Wed, 24 Jul 2024 08:50:33 +0000 (10:50 +0200)
committerChristian Brauner <brauner@kernel.org>
Wed, 24 Jul 2024 09:11:40 +0000 (11:11 +0200)
commitf5e5e97c719d289025afce07050effcf1f7373ef
treea4a09fa76cbb1287a89aa5ae9940253710669e9c
parentc3a5e3e872f3688ae0dc57bb78ca633921d96a91
inode: clarify what's locked

In __wait_on_freeing_inode() we warn in case the inode_hash_lock is held
but the inode is unhashed. We then release the inode_lock. So using
"locked" as parameter name is confusing. Use is_inode_hash_locked as
parameter name instead.

Signed-off-by: Christian Brauner <brauner@kernel.org>
fs/inode.c