From: Christian Brauner Date: Tue, 18 Jun 2024 12:12:28 +0000 (+0200) Subject: fs: fix dentry size X-Git-Tag: v6.11-rc1~237^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=dc99c0ff53f588bb210b1e8b3314c7581cde68a2;p=thirdparty%2Fkernel%2Flinux.git 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 Links: https://lore.kernel.org/r/CAHk-=whtoqTSCcAvV-X-KPqoDWxS4vxmWpuKLB+Vv8=FtUd5vA@mail.gmail.com Signed-off-by: Christian Brauner --- diff --git a/include/linux/dcache.h b/include/linux/dcache.h index 326dbccc3736f..58916b3f53ad1 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