瀏覽代碼

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>
Christoph Hellwig 7 年之前
父節點
當前提交
2f4293973d
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      fs/proc/internal.h

+ 2 - 2
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;