diff options
author | Chao Yu <yuchao0@huawei.com> | 2018-10-07 14:06:15 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-12-01 11:16:55 +0300 |
commit | 074af1668038e5743bddb413681e345d632e7a97 (patch) | |
tree | cc36a20b9951393ba3a5feea096993fd4e9e24f7 /drivers/isdn | |
parent | e7f81efae3b5c90684a83dc95aab1ba5c8c7b7cf (diff) | |
download | linux-074af1668038e5743bddb413681e345d632e7a97.tar.xz |
f2fs: spread f2fs_set_inode_flags()
[ Upstream commit 9149a5eb606152df158eb7d7da5a34e84b574189 ]
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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/isdn')
0 files changed, 0 insertions, 0 deletions