diff options
author | Sheng Yong | 2018-07-24 20:17:53 +0800 |
---|---|---|
committer | Jaegeuk Kim | 2018-08-01 11:52:36 -0700 |
commit | 955ac6e523444493298016523788bb7ec1a2f06e (patch) | |
tree | 908eee1074652ca14419ff1a0004c76345dae351 /fs/devpts | |
parent | 970e348d9829e9fc3091da2fe189ab34a07201e6 (diff) |
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/devpts')
0 files changed, 0 insertions, 0 deletions