diff options
author | Jan Kara <jack@suse.cz> | 2017-06-08 15:16:41 +0200 |
---|---|---|
committer | Jan Kara <jack@suse.cz> | 2017-08-17 19:00:50 +0200 |
commit | 5e8cb9b6249de3ac036ef4cf4b7babc2f4b95d90 (patch) | |
tree | d1c594afe05bb850be832c423934486324939994 /fs/quota/quota_v1.c | |
parent | d6ab3661020cbf8a8909b49a8e1408d5ae434001 (diff) |
quota: Protect dquot writeout with dq_lock
Currently dquot writeout is only protected by dqio_sem held for writing.
As we transition to a finer grained locking we will use dquot->dq_lock
instead. So acquire it in dquot_commit() and move dqio_sem just around
->commit_dqblk() call as it is still needed to serialize quota file
changes.
Reviewed-by: Andreas Dilger <adilger@dilger.ca>
Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'fs/quota/quota_v1.c')
0 files changed, 0 insertions, 0 deletions