diff options
author | Sheng Yong <shengyong1@huawei.com> | 2018-07-24 14:17:53 +0200 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2018-08-01 20:52:36 +0200 |
commit | 955ac6e523444493298016523788bb7ec1a2f06e (patch) | |
tree | 908eee1074652ca14419ff1a0004c76345dae351 /fs/f2fs/inode.c | |
parent | f2fs: add proc entry to show victim_secmap bitmap (diff) | |
download | linux-955ac6e523444493298016523788bb7ec1a2f06e.tar.xz linux-955ac6e523444493298016523788bb7ec1a2f06e.zip |
f2fs: quota: decrease the lock granularity of statfs_project
According to fs/quota/dquot.c, `dq_data_lock' protects mem_dqinfo
structures and modifications of dquot pointers in the inode, and
`dquot->dq_dqb_lock' protects data from dq_dqb.
We should use dquot->dq_dqb_lock in statfs_project instead of
dq_dat_lock.
Signed-off-by: Sheng Yong <shengyong1@huawei.com>
Reviewed-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/f2fs/inode.c')
0 files changed, 0 insertions, 0 deletions