Commit 2f429397 authored by Christoph Hellwig's avatar Christoph Hellwig

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: default avatarChristoph Hellwig <hch@lst.de>
parent 8a8dcabf
...@@ -62,9 +62,9 @@ struct proc_dir_entry { ...@@ -62,9 +62,9 @@ struct proc_dir_entry {
umode_t mode; umode_t mode;
u8 namelen; u8 namelen;
#ifdef CONFIG_64BIT #ifdef CONFIG_64BIT
#define SIZEOF_PDE_INLINE_NAME (192-139) #define SIZEOF_PDE_INLINE_NAME (192-155)
#else #else
#define SIZEOF_PDE_INLINE_NAME (128-87) #define SIZEOF_PDE_INLINE_NAME (128-95)
#endif #endif
char inline_name[SIZEOF_PDE_INLINE_NAME]; char inline_name[SIZEOF_PDE_INLINE_NAME];
} __randomize_layout; } __randomize_layout;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment