diff options
author | KaiGai Kohei <kaigai@ak.jp.nec.com> | 2006-05-13 02:13:27 -0400 |
---|---|---|
committer | KaiGai Kohei <kaigai@ak.jp.nec.com> | 2006-05-13 02:13:27 -0400 |
commit | de1f72fab35d2b6215017690c6dc27b8f4aa14bc (patch) | |
tree | 7ed7688335b1f5a5b5ac86420f48810a94a5d4ce /fs/jffs2/acl.h | |
parent | aa98d7cf59b5b0764d3502662053489585faf2fe (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.h | 12 |
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 @@ | |||
7 | * | 7 | * |
8 | * For licensing information, see the file 'LICENCE' in the jffs2 directory. | 8 | * For licensing information, see the file 'LICENCE' in the jffs2 directory. |
9 | *-------------------------------------------------------------------------*/ | 9 | *-------------------------------------------------------------------------*/ |
10 | typedef struct { | 10 | struct jffs2_acl_entry { |
11 | jint16_t e_tag; | 11 | jint16_t e_tag; |
12 | jint16_t e_perm; | 12 | jint16_t e_perm; |
13 | jint32_t e_id; | 13 | jint32_t e_id; |
14 | } jffs2_acl_entry; | 14 | }; |
15 | 15 | ||
16 | typedef struct { | 16 | struct jffs2_acl_entry_short { |
17 | jint16_t e_tag; | 17 | jint16_t e_tag; |
18 | jint16_t e_perm; | 18 | jint16_t e_perm; |
19 | } jffs2_acl_entry_short; | 19 | }; |
20 | 20 | ||
21 | typedef struct { | 21 | struct jffs2_acl_header { |
22 | jint32_t a_version; | 22 | jint32_t a_version; |
23 | } jffs2_acl_header; | 23 | }; |
24 | 24 | ||
25 | #ifdef __KERNEL__ | 25 | #ifdef __KERNEL__ |
26 | #ifdef CONFIG_JFFS2_FS_POSIX_ACL | 26 | #ifdef CONFIG_JFFS2_FS_POSIX_ACL |