commit | 9149a5eb606152df158eb7d7da5a34e84b574189 | [log] [tgz] |
---|---|---|
author | Chao Yu <yuchao0@huawei.com> | Sun Oct 07 19:06:15 2018 +0800 |
committer | Jaegeuk Kim <jaegeuk@kernel.org> | Mon Oct 22 17:54:47 2018 -0700 |
tree | 03ccd0b0bb30026f81c7e13257291d35c28ca0ad | |
parent | 2baf07818549c8bb8d7b3437e889b86eab56d38e [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>