Skip to contentSkip to conversation

pidfs: make pidfs_ino_lock static

PATCH Applied Mateusz Guzik 2 participants 2 messages Jul 23 – Jul 24 VFS

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 pidfs: make pidfs_ino_lock static

Fixes 87caaeef7995 ("pidfs: implement ino allocation without the pidmap lock")
---
 fs/pidfs.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
fs/pidfs.c +1 -1
index aaa609ddab04..9991f4820c95 100644
@@ -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
maintainer Applied
#1 lore raw
Quoted 1 line · Mateusz Guzik

pidfs: make pidfs_ino_lock static

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