]> Pileus Git - ~andy/linux/blobdiff - fs/jffs2/acl.h
jffs2: use generic posix ACL infrastructure
[~andy/linux] / fs / jffs2 / acl.h
index 9b477246f2a6ec1c0e0f0b9a34c870f44e6ba734..2e2b5745c3b75d42caea23256ccc4bfc6dacb039 100644 (file)
@@ -27,17 +27,14 @@ struct jffs2_acl_header {
 #ifdef CONFIG_JFFS2_FS_POSIX_ACL
 
 struct posix_acl *jffs2_get_acl(struct inode *inode, int type);
-extern int jffs2_acl_chmod(struct inode *);
+int jffs2_set_acl(struct inode *inode, struct posix_acl *acl, int type);
 extern int jffs2_init_acl_pre(struct inode *, struct inode *, umode_t *);
 extern int jffs2_init_acl_post(struct inode *);
 
-extern const struct xattr_handler jffs2_acl_access_xattr_handler;
-extern const struct xattr_handler jffs2_acl_default_xattr_handler;
-
 #else
 
 #define jffs2_get_acl                          (NULL)
-#define jffs2_acl_chmod(inode)                 (0)
+#define jffs2_set_acl                          (NULL)
 #define jffs2_init_acl_pre(dir_i,inode,mode)   (0)
 #define jffs2_init_acl_post(inode)             (0)