1 /* 2 * JFFS2 -- Journalling Flash File System, Version 2. 3 * 4 * Copyright © 2006 NEC Corporation 5 * 6 * Created by KaiGai Kohei <kaigai@ak.jp.nec.com> 7 * 8 * For licensing information, see the file 'LICENCE' in this directory. 9 * 10 */ 11 #ifndef _JFFS2_ACL_H_ 12 #define _JFFS2_ACL_H_ 13 14 struct jffs2_acl_entry { 15 jint16_t e_tag; 16 jint16_t e_perm; 17 jint32_t e_id; 18 }; 19 20 struct jffs2_acl_entry_short { 21 jint16_t e_tag; 22 jint16_t e_perm; 23 }; 24 25 struct jffs2_acl_header { 26 jint32_t a_version; 27 }; 28 29 #ifdef CONFIG_JFFS2_FS_POSIX_ACL 30 31 #else 32 33 #define jffs2_get_acl (NULL) 34 #define jffs2_set_acl (NULL) 35 #define jffs2_init_acl_pre(dir_i,inode,mode) (0) 36 #define jffs2_init_acl_post(inode) (0) 37 38 #endif /* CONFIG_JFFS2_FS_POSIX_ACL */ 39 #endif /* _JFFS2_ACL_H_ */ 40