summaryrefslogtreecommitdiff
path: root/fs/jffs2/acl.h
diff options
context:
space:
mode:
authorKaiGai Kohei <kaigai@ak.jp.nec.com>2006-05-13 15:13:27 +0900
committerKaiGai Kohei <kaigai@ak.jp.nec.com>2006-05-13 15:13:27 +0900
commitde1f72fab35d2b6215017690c6dc27b8f4aa14bc (patch)
tree7ed7688335b1f5a5b5ac86420f48810a94a5d4ce /fs/jffs2/acl.h
parentaa98d7cf59b5b0764d3502662053489585faf2fe (diff)
[JFFS2][XATTR] remove typedef from posix_acl related definition.
jffs2_acl_header, jffs2_acl_entry and jffs2_acl_entry_short were redefined with using 'struct' instead of 'typedef' in kernel implementation. [1/10] jffs2-xattr-v5.1-01-remove_typedef_kernel.patch Signed-off-by: KaiGai Kohei <kaigai@ak.jp.nec.com>
Diffstat (limited to 'fs/jffs2/acl.h')
-rw-r--r--fs/jffs2/acl.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/fs/jffs2/acl.h b/fs/jffs2/acl.h
index c98610b4e81c..3f41e09200b8 100644
--- a/fs/jffs2/acl.h
+++ b/fs/jffs2/acl.h
@@ -7,20 +7,20 @@
*
* For licensing information, see the file 'LICENCE' in the jffs2 directory.
*-------------------------------------------------------------------------*/
-typedef struct {
+struct jffs2_acl_entry {
jint16_t e_tag;
jint16_t e_perm;
jint32_t e_id;
-} jffs2_acl_entry;
+};
-typedef struct {
+struct jffs2_acl_entry_short {
jint16_t e_tag;
jint16_t e_perm;
-} jffs2_acl_entry_short;
+};
-typedef struct {
+struct jffs2_acl_header {
jint32_t a_version;
-} jffs2_acl_header;
+};
#ifdef __KERNEL__
#ifdef CONFIG_JFFS2_FS_POSIX_ACL