pidfs: make pidfs_ino_lock static
PATCH 1/1 pidfs: make pidfs_ino_lock static
Fixes 87caaeef7995 ("pidfs: implement ino allocation without the pidmap lock")
Reported-by kernel test robot <[email protected]>
Signed-off-by Mateusz Guzik <[email protected]>
--- fs/pidfs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
fs/pidfs.c +1 -1
@@ -107,7 +107,7 @@ struct pidfs_attr {#if BITS_PER_LONG ==32 -DEFINE_SPINLOCK (pidfs_ino_lock); +static DEFINE_SPINLOCK (pidfs_ino_lock);static u64 pidfs_ino_nr =1 ;static inline unsigned long pidfs_ino (u64 ino)
Signature · 1 line
2.48.1
Quoted 1 line · Mateusz Guzik
pidfs: make
pidfs_ino_lockstatic
Applied to the vfs.fixes branch of the vfs/vfs.git tree. Patches in the vfs.fixes branch should appear in linux-next soon.
Please report any outstanding bugs that were missed during review in a new review to the original patch series allowing us to drop it.
It's encouraged to provide Acked-bys and Reviewed-bys even though the patch has now been applied. If possible patch trailers will be updated.
Note that commit hashes shown below are subject to change due to rebase, trailer updates or similar. If in doubt, please check the listed branch.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs.git branch: vfs.fixes
[1/1] pidfs: make pidfs_ino_lock static
https://git.kernel.org/vfs/vfs/c/3cb0811f6a14