diff options
author | Christoph Hellwig <hch@infradead.org> | 2013-12-20 05:16:45 -0800 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2014-01-25 23:58:19 -0500 |
commit | a6dda0e63e97122ce9e0ba04367e37cca28315fa (patch) | |
tree | e8dec7f19884035c41b3ddd807ca5dcde65fef41 /fs/f2fs/acl.h | |
parent | 64e178a7118b1cf7648391755e44dcc209091003 (diff) |
f2fs: use generic posix ACL infrastructure
f2fs has some weird mode bit handling, so still using the old
chmod code for now.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/f2fs/acl.h')
-rw-r--r-- | fs/f2fs/acl.h | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/fs/f2fs/acl.h b/fs/f2fs/acl.h index 49633131e03..e0864651cdc 100644 --- a/fs/f2fs/acl.h +++ b/fs/f2fs/acl.h @@ -37,18 +37,13 @@ struct f2fs_acl_header { #ifdef CONFIG_F2FS_FS_POSIX_ACL extern struct posix_acl *f2fs_get_acl(struct inode *, int); -extern int f2fs_acl_chmod(struct inode *); +extern int f2fs_set_acl(struct inode *inode, struct posix_acl *acl, int type); extern int f2fs_init_acl(struct inode *, struct inode *, struct page *); #else #define f2fs_check_acl NULL #define f2fs_get_acl NULL #define f2fs_set_acl NULL -static inline int f2fs_acl_chmod(struct inode *inode) -{ - return 0; -} - static inline int f2fs_init_acl(struct inode *inode, struct inode *dir, struct page *page) { |