Skip to content

Commit 2f42939

Browse files
author
Christoph Hellwig
committed
proc: update SIZEOF_PDE_INLINE_NAME for the new pde fields
This makes Alexey happy and Al groan. Based on a patch from Alexey Dobriyan. Signed-off-by: Christoph Hellwig <[email protected]>
1 parent 8a8dcab commit 2f42939

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

fs/proc/internal.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,9 +62,9 @@ struct proc_dir_entry {
6262
umode_t mode;
6363
u8 namelen;
6464
#ifdef CONFIG_64BIT
65-
#define SIZEOF_PDE_INLINE_NAME (192-139)
65+
#define SIZEOF_PDE_INLINE_NAME (192-155)
6666
#else
67-
#define SIZEOF_PDE_INLINE_NAME (128-87)
67+
#define SIZEOF_PDE_INLINE_NAME (128-95)
6868
#endif
6969
char inline_name[SIZEOF_PDE_INLINE_NAME];
7070
} __randomize_layout;

0 commit comments

Comments
 (0)