summaryrefslogtreecommitdiffstats
path: root/fs/proc/internal.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2018-05-15 16:06:04 +0200
committerChristoph Hellwig <hch@lst.de>2018-05-16 07:24:30 +0200
commit2f4293973d4eb8b6eb2f21f3db24461ac2b9e928 (patch)
tree700563ad23e30f95fac7c1c50632d3a9096bb5ae /fs/proc/internal.h
parenttty: replace ->proc_fops with ->proc_show (diff)
downloadlinux-2f4293973d4eb8b6eb2f21f3db24461ac2b9e928.tar.xz
linux-2f4293973d4eb8b6eb2f21f3db24461ac2b9e928.zip
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>
Diffstat (limited to 'fs/proc/internal.h')
-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 {
umode_t mode;
u8 namelen;
#ifdef CONFIG_64BIT
-#define SIZEOF_PDE_INLINE_NAME (192-139)
+#define SIZEOF_PDE_INLINE_NAME (192-155)
#else
-#define SIZEOF_PDE_INLINE_NAME (128-87)
+#define SIZEOF_PDE_INLINE_NAME (128-95)
#endif
char inline_name[SIZEOF_PDE_INLINE_NAME];
} __randomize_layout;