diff options
author | Christoph Hellwig <hch@infradead.org> | 2013-12-20 08:16:45 -0500 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2014-01-25 23:58:19 -0500 |
commit | a6dda0e63e97122ce9e0ba04367e37cca28315fa (patch) | |
tree | e8dec7f19884035c41b3ddd807ca5dcde65fef41 /fs/f2fs/f2fs.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/f2fs.h')
-rw-r--r-- | fs/f2fs/f2fs.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/fs/f2fs/f2fs.h b/fs/f2fs/f2fs.h index 89dc7508faf2..934b59cf819e 100644 --- a/fs/f2fs/f2fs.h +++ b/fs/f2fs/f2fs.h | |||
@@ -953,6 +953,10 @@ static inline int f2fs_readonly(struct super_block *sb) | |||
953 | return sb->s_flags & MS_RDONLY; | 953 | return sb->s_flags & MS_RDONLY; |
954 | } | 954 | } |
955 | 955 | ||
956 | #define get_inode_mode(i) \ | ||
957 | ((is_inode_flag_set(F2FS_I(i), FI_ACL_MODE)) ? \ | ||
958 | (F2FS_I(i)->i_acl_mode) : ((i)->i_mode)) | ||
959 | |||
956 | /* | 960 | /* |
957 | * file.c | 961 | * file.c |
958 | */ | 962 | */ |