Skip to content

Commit dc99c0f

Browse files
committed
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 <[email protected]> Links: https://lore.kernel.org/r/CAHk-=whtoqTSCcAvV-X-KPqoDWxS4vxmWpuKLB+Vv8=FtUd5vA@mail.gmail.com Signed-off-by: Christian Brauner <[email protected]>
1 parent 18a5daf commit dc99c0f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/linux/dcache.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ extern const struct qstr dotdot_name;
7171
# define DNAME_INLINE_LEN 40 /* 192 bytes */
7272
#else
7373
# ifdef CONFIG_SMP
74-
# define DNAME_INLINE_LEN 40 /* 128 bytes */
74+
# define DNAME_INLINE_LEN 36 /* 128 bytes */
7575
# else
7676
# define DNAME_INLINE_LEN 44 /* 128 bytes */
7777
# endif

0 commit comments

Comments
 (0)