浏览代码

Don't include <linux/list.h> from user-visible part of reiserfs_xattr.h

Signed-off-by: David Woodhouse <dwmw2@infradead.org>
David Woodhouse 19 年之前
父节点
当前提交
98ca79d52b
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      include/linux/reiserfs_xattr.h

+ 1 - 1
include/linux/reiserfs_xattr.h

@@ -3,7 +3,6 @@
 */
 
 #include <linux/config.h>
-#include <linux/init.h>
 #include <linux/xattr.h>
 
 /* Magic value in header */
@@ -15,6 +14,7 @@ struct reiserfs_xattr_header {
 };
 
 #ifdef __KERNEL__
+#include <linux/init.h>
 
 struct reiserfs_xattr_handler {
 	char *prefix;