diff options
Diffstat (limited to 'fs/jffs2/acl.h')
-rw-r--r-- | fs/jffs2/acl.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/fs/jffs2/acl.h b/fs/jffs2/acl.h index c84378cee82a..90a2dbf59051 100644 --- a/fs/jffs2/acl.h +++ b/fs/jffs2/acl.h | |||
@@ -28,9 +28,10 @@ struct jffs2_acl_header { | |||
28 | 28 | ||
29 | #define JFFS2_ACL_NOT_CACHED ((void *)-1) | 29 | #define JFFS2_ACL_NOT_CACHED ((void *)-1) |
30 | 30 | ||
31 | extern struct posix_acl *jffs2_get_acl(struct inode *inode, int type); | ||
31 | extern int jffs2_permission(struct inode *, int, struct nameidata *); | 32 | extern int jffs2_permission(struct inode *, int, struct nameidata *); |
32 | extern int jffs2_acl_chmod(struct inode *); | 33 | extern int jffs2_acl_chmod(struct inode *); |
33 | extern int jffs2_init_acl(struct inode *, struct inode *); | 34 | extern int jffs2_init_acl(struct inode *, struct posix_acl *); |
34 | extern void jffs2_clear_acl(struct jffs2_inode_info *); | 35 | extern void jffs2_clear_acl(struct jffs2_inode_info *); |
35 | 36 | ||
36 | extern struct xattr_handler jffs2_acl_access_xattr_handler; | 37 | extern struct xattr_handler jffs2_acl_access_xattr_handler; |
@@ -38,6 +39,7 @@ extern struct xattr_handler jffs2_acl_default_xattr_handler; | |||
38 | 39 | ||
39 | #else | 40 | #else |
40 | 41 | ||
42 | #define jffs2_get_acl(inode, type) (NULL) | ||
41 | #define jffs2_permission NULL | 43 | #define jffs2_permission NULL |
42 | #define jffs2_acl_chmod(inode) (0) | 44 | #define jffs2_acl_chmod(inode) (0) |
43 | #define jffs2_init_acl(inode,dir) (0) | 45 | #define jffs2_init_acl(inode,dir) (0) |