summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMateusz Guzik <mjguzik@gmail.com>2025-12-01 11:32:26 +0300
committerAl Viro <viro@zeniv.linux.org.uk>2026-01-13 23:17:26 +0300
commit7ca83f8ebe86706c4164ac21871f4a5adb86a430 (patch)
tree21d9336a1fa14ee662b6be9b03f4479e4c0e2f9b /include
parent8c888b31903cc2acfbf054c23d702caf68857810 (diff)
downloadlinux-7ca83f8ebe86706c4164ac21871f4a5adb86a430.tar.xz
fs: hide names_cache behind runtime const machinery
s/names_cachep/names_cache/ for consistency with dentry cache. Signed-off-by: Mateusz Guzik <mjguzik@gmail.com> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'include')
-rw-r--r--include/asm-generic/vmlinux.lds.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/asm-generic/vmlinux.lds.h b/include/asm-generic/vmlinux.lds.h
index 8ca130af301f..eeb070f330bd 100644
--- a/include/asm-generic/vmlinux.lds.h
+++ b/include/asm-generic/vmlinux.lds.h
@@ -972,7 +972,8 @@
#define RUNTIME_CONST_VARIABLES \
RUNTIME_CONST(shift, d_hash_shift) \
RUNTIME_CONST(ptr, dentry_hashtable) \
- RUNTIME_CONST(ptr, __dentry_cache)
+ RUNTIME_CONST(ptr, __dentry_cache) \
+ RUNTIME_CONST(ptr, __names_cache)
/* Alignment must be consistent with (kunit_suite *) in include/kunit/test.h */
#define KUNIT_TABLE() \