diff options
author | Christoph Hellwig <hch@infradead.org> | 2013-12-20 08:16:51 -0500 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2014-01-25 23:58:22 -0500 |
commit | 2cc6a5a01cdbeb0e46f3aa144819d5d7cee458a1 (patch) | |
tree | d97137eadb3a11dfd12c7bc7bb552ce21e8e4688 /fs/jfs/jfs_acl.h | |
parent | 2401dc2975fc5a33021dc8347ea82984c4707a08 (diff) |
jfs: use generic posix ACL infrastructure
Copy the scheme I introduced to btrfs many years ago to only use the
xattr handler for ACLs, but pass plain attrs straight through.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Dave Kleikamp <dave.kleikamp@oracle.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/jfs/jfs_acl.h')
-rw-r--r-- | fs/jfs/jfs_acl.h | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/fs/jfs/jfs_acl.h b/fs/jfs/jfs_acl.h index ad84fe50ca9e..489f993b7b13 100644 --- a/fs/jfs/jfs_acl.h +++ b/fs/jfs/jfs_acl.h | |||
@@ -21,8 +21,8 @@ | |||
21 | #ifdef CONFIG_JFS_POSIX_ACL | 21 | #ifdef CONFIG_JFS_POSIX_ACL |
22 | 22 | ||
23 | struct posix_acl *jfs_get_acl(struct inode *inode, int type); | 23 | struct posix_acl *jfs_get_acl(struct inode *inode, int type); |
24 | int jfs_set_acl(struct inode *inode, struct posix_acl *acl, int type); | ||
24 | int jfs_init_acl(tid_t, struct inode *, struct inode *); | 25 | int jfs_init_acl(tid_t, struct inode *, struct inode *); |
25 | int jfs_acl_chmod(struct inode *inode); | ||
26 | 26 | ||
27 | #else | 27 | #else |
28 | 28 | ||
@@ -32,10 +32,5 @@ static inline int jfs_init_acl(tid_t tid, struct inode *inode, | |||
32 | return 0; | 32 | return 0; |
33 | } | 33 | } |
34 | 34 | ||
35 | static inline int jfs_acl_chmod(struct inode *inode) | ||
36 | { | ||
37 | return 0; | ||
38 | } | ||
39 | |||
40 | #endif | 35 | #endif |
41 | #endif /* _H_JFS_ACL */ | 36 | #endif /* _H_JFS_ACL */ |