aboutsummaryrefslogtreecommitdiffstats
path: root/fs/jffs2/xattr.h
diff options
context:
space:
mode:
Diffstat (limited to 'fs/jffs2/xattr.h')
-rw-r--r--fs/jffs2/xattr.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/fs/jffs2/xattr.h b/fs/jffs2/xattr.h
index d157ad641ed4..0360097e5933 100644
--- a/fs/jffs2/xattr.h
+++ b/fs/jffs2/xattr.h
@@ -54,7 +54,7 @@ struct jffs2_xattr_ref
54 struct jffs2_xattr_datum *xd; /* reference to jffs2_xattr_datum */ 54 struct jffs2_xattr_datum *xd; /* reference to jffs2_xattr_datum */
55 uint32_t xid; /* only used in sccanning/building */ 55 uint32_t xid; /* only used in sccanning/building */
56 }; 56 };
57 struct list_head ilist; /* chained from ic->ilist */ 57 struct jffs2_xattr_ref *next; /* chained from ic->xref_list */
58}; 58};
59 59
60#ifdef CONFIG_JFFS2_FS_XATTR 60#ifdef CONFIG_JFFS2_FS_XATTR
@@ -86,9 +86,6 @@ extern ssize_t jffs2_listxattr(struct dentry *, char *, size_t);
86#define jffs2_setxattr generic_setxattr 86#define jffs2_setxattr generic_setxattr
87#define jffs2_removexattr generic_removexattr 87#define jffs2_removexattr generic_removexattr
88 88
89/*---- Any inline initialize functions ----*/
90#define init_xattr_inode_cache(x) INIT_LIST_HEAD(&((x)->ilist))
91
92#else 89#else
93 90
94#define jffs2_init_xattr_subsystem(c) 91#define jffs2_init_xattr_subsystem(c)
@@ -106,8 +103,6 @@ extern ssize_t jffs2_listxattr(struct dentry *, char *, size_t);
106#define jffs2_setxattr NULL 103#define jffs2_setxattr NULL
107#define jffs2_removexattr NULL 104#define jffs2_removexattr NULL
108 105
109#define init_xattr_inode_cache(x)
110
111#endif /* CONFIG_JFFS2_FS_XATTR */ 106#endif /* CONFIG_JFFS2_FS_XATTR */
112 107
113#ifdef CONFIG_JFFS2_FS_SECURITY 108#ifdef CONFIG_JFFS2_FS_SECURITY