-/*-------------------------------------------------------------------------*
- * File: fs/jffs2/acl.h
- * POSIX ACL support on JFFS2 FileSystem
+/*
+ * JFFS2 -- Journalling Flash File System, Version 2.
*
- * Implemented by KaiGai Kohei <kaigai@ak.jp.nec.com>
- * Copyright (C) 2006 NEC Corporation
+ * Copyright (C) 2006 NEC Corporation
*
- * For licensing information, see the file 'LICENCE' in the jffs2 directory.
- *-------------------------------------------------------------------------*/
-typedef struct {
+ * Created by KaiGai Kohei <kaigai@ak.jp.nec.com>
+ *
+ * For licensing information, see the file 'LICENCE' in this directory.
+ *
+ */
+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
#define JFFS2_ACL_NOT_CACHED ((void *)-1)
#define jffs2_clear_acl(inode)
#endif /* CONFIG_JFFS2_FS_POSIX_ACL */
-#endif /* __KERNEL__ */