diff options
Diffstat (limited to 'fs/jffs2/acl.h')
-rw-r--r-- | fs/jffs2/acl.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/fs/jffs2/acl.h b/fs/jffs2/acl.h index 9b477246f2a6..2e2b5745c3b7 100644 --- a/fs/jffs2/acl.h +++ b/fs/jffs2/acl.h | |||
@@ -27,17 +27,14 @@ struct jffs2_acl_header { | |||
27 | #ifdef CONFIG_JFFS2_FS_POSIX_ACL | 27 | #ifdef CONFIG_JFFS2_FS_POSIX_ACL |
28 | 28 | ||
29 | struct posix_acl *jffs2_get_acl(struct inode *inode, int type); | 29 | struct posix_acl *jffs2_get_acl(struct inode *inode, int type); |
30 | extern int jffs2_acl_chmod(struct inode *); | 30 | int jffs2_set_acl(struct inode *inode, struct posix_acl *acl, int type); |
31 | extern int jffs2_init_acl_pre(struct inode *, struct inode *, umode_t *); | 31 | extern int jffs2_init_acl_pre(struct inode *, struct inode *, umode_t *); |
32 | extern int jffs2_init_acl_post(struct inode *); | 32 | extern int jffs2_init_acl_post(struct inode *); |
33 | 33 | ||
34 | extern const struct xattr_handler jffs2_acl_access_xattr_handler; | ||
35 | extern const struct xattr_handler jffs2_acl_default_xattr_handler; | ||
36 | |||
37 | #else | 34 | #else |
38 | 35 | ||
39 | #define jffs2_get_acl (NULL) | 36 | #define jffs2_get_acl (NULL) |
40 | #define jffs2_acl_chmod(inode) (0) | 37 | #define jffs2_set_acl (NULL) |
41 | #define jffs2_init_acl_pre(dir_i,inode,mode) (0) | 38 | #define jffs2_init_acl_pre(dir_i,inode,mode) (0) |
42 | #define jffs2_init_acl_post(inode) (0) | 39 | #define jffs2_init_acl_post(inode) (0) |
43 | 40 | ||