aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2018-05-15 10:06:04 -0400
committerChristoph Hellwig <hch@lst.de>2018-05-16 01:24:30 -0400
commit2f4293973d4eb8b6eb2f21f3db24461ac2b9e928 (patch)
tree700563ad23e30f95fac7c1c50632d3a9096bb5ae
parent8a8dcabffb991a08fa1fab4e75b80a9075825606 (diff)
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 <hch@lst.de>
-rw-r--r--fs/proc/internal.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/proc/internal.h b/fs/proc/internal.h
index 84c68508a256..a318ae5b36b4 100644
--- a/fs/proc/internal.h
+++ b/fs/proc/internal.h
@@ -62,9 +62,9 @@ struct proc_dir_entry {
62 umode_t mode; 62 umode_t mode;
63 u8 namelen; 63 u8 namelen;
64#ifdef CONFIG_64BIT 64#ifdef CONFIG_64BIT
65#define SIZEOF_PDE_INLINE_NAME (192-139) 65#define SIZEOF_PDE_INLINE_NAME (192-155)
66#else 66#else
67#define SIZEOF_PDE_INLINE_NAME (128-87) 67#define SIZEOF_PDE_INLINE_NAME (128-95)
68#endif 68#endif
69 char inline_name[SIZEOF_PDE_INLINE_NAME]; 69 char inline_name[SIZEOF_PDE_INLINE_NAME];
70} __randomize_layout; 70} __randomize_layout;