projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8b7e824
)
pidfs: make pidfs_ino_lock static
author
Mateusz Guzik
<mjguzik@gmail.com>
Thu, 23 Jul 2026 16:01:13 +0000
(18:01 +0200)
committer
Christian Brauner
<brauner@kernel.org>
Fri, 24 Jul 2026 08:30:58 +0000
(10:30 +0200)
Fixes:
87caaeef7995
("pidfs: implement ino allocation without the pidmap lock")
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/
202607231547
.ehCQxi0L-lkp@intel.com/
Signed-off-by: Mateusz Guzik <mjguzik@gmail.com>
Link:
https://patch.msgid.link/20260723160114.291515-1-mjguzik@gmail.com
Signed-off-by: Christian Brauner (Amutable) <brauner@kernel.org>
fs/pidfs.c
patch
|
blob
|
history
diff --git
a/fs/pidfs.c
b/fs/pidfs.c
index
d7fe9ab
..
b57ecc9
100644
(file)
--- a/
fs/pidfs.c
+++ b/
fs/pidfs.c
@@
-108,7
+108,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)