Searched hist:"5 e8cb9b6" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/fs/quota/ |
H A D | dquot.c | 5e8cb9b6 Thu Jun 08 08:16:41 CDT 2017 Jan Kara <jack@suse.cz> 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>
|