diff options
author | Chao Yu <yuchao0@huawei.com> | 2018-10-07 19:06:15 +0800 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2018-10-29 18:46:24 -0700 |
commit | 6a23a85581000e723c45ff2541237adc47822702 (patch) | |
tree | 4c9e228a62c9e697a90987824362564dbc39e4bf /fs/mpage.c | |
parent | fbfc2e102ca7fca46eecc8a73d2b7d2a5d81c9c7 (diff) |
f2fs: spread f2fs_set_inode_flags()
This patch changes codes as below:
- use f2fs_set_inode_flags() to update i_flags atomically to avoid
potential race.
- synchronize F2FS_I(inode)->i_flags to inode->i_flags in
f2fs_new_inode().
- use f2fs_set_inode_flags() to simply codes in f2fs_quota_{on,off}.
Signed-off-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/mpage.c')
0 files changed, 0 insertions, 0 deletions