summaryrefslogtreecommitdiff
path: root/include/linux/dcache.h
diff options
context:
space:
mode:
authorChristian Brauner <brauner@kernel.org>2024-06-18 15:12:28 +0300
committerChristian Brauner <brauner@kernel.org>2024-07-03 11:34:11 +0300
commitdc99c0ff53f588bb210b1e8b3314c7581cde68a2 (patch)
tree730b9e76324b06a8dc43879731ce20e9f2c17fe6 /include/linux/dcache.h
parent18a5daf0e4974ded74b2ed8a6aed1da49bde356d (diff)
downloadlinux-dc99c0ff53f588bb210b1e8b3314c7581cde68a2.tar.xz
fs: fix dentry size
On CONFIG_SMP=y and on 32bit we need to decrease DNAME_INLINE_LEN to 36 btyes to end up with 128 bytes in total. Reported-by: Linus Torvalds <torvalds@linux-foundation.org> Links: https://lore.kernel.org/r/CAHk-=whtoqTSCcAvV-X-KPqoDWxS4vxmWpuKLB+Vv8=FtUd5vA@mail.gmail.com Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'include/linux/dcache.h')
-rw-r--r--include/linux/dcache.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/dcache.h b/include/linux/dcache.h
index 326dbccc3736..58916b3f53ad 100644
--- a/include/linux/dcache.h
+++ b/include/linux/dcache.h
@@ -71,7 +71,7 @@ extern const struct qstr dotdot_name;
# define DNAME_INLINE_LEN 40 /* 192 bytes */
#else
# ifdef CONFIG_SMP
-# define DNAME_INLINE_LEN 40 /* 128 bytes */
+# define DNAME_INLINE_LEN 36 /* 128 bytes */
# else
# define DNAME_INLINE_LEN 44 /* 128 bytes */
# endif