diff options
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 af51a0bd2dee..fc3c558cb4f3 100644 --- a/fs/f2fs/f2fs.h +++ b/fs/f2fs/f2fs.h @@ -1023,6 +1023,10 @@ static inline int f2fs_readonly(struct super_block *sb)  	return sb->s_flags & MS_RDONLY;  } +#define get_inode_mode(i) \ +	((is_inode_flag_set(F2FS_I(i), FI_ACL_MODE)) ? \ +	 (F2FS_I(i)->i_acl_mode) : ((i)->i_mode)) +  /*   * file.c   */ | 
