commit | 955ac6e523444493298016523788bb7ec1a2f06e | [log] [tgz] |
---|---|---|
author | Sheng Yong <shengyong1@huawei.com> | Tue Jul 24 20:17:53 2018 +0800 |
committer | Jaegeuk Kim <jaegeuk@kernel.org> | Wed Aug 01 11:52:36 2018 -0700 |
tree | 908eee1074652ca14419ff1a0004c76345dae351 | |
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>