]> git.baikalelectronics.ru Git - kernel.git/commit
quota: Remove locking for writing to the old quota format
authorJan Kara <jack@suse.cz>
Thu, 8 Jun 2017 14:18:54 +0000 (16:18 +0200)
committerJan Kara <jack@suse.cz>
Thu, 17 Aug 2017 17:03:44 +0000 (19:03 +0200)
commita52dde5fc5ca1ddc331a8397108b57434ea59826
tree6c11d1c6ea99935142062f42163b0c0882c24af9
parent3c86fb7b42d90d2eb515333fd19f8271c288c5e9
quota: Remove locking for writing to the old quota format

The old quota quota format has fixed offset in quota file based on ID so
there's no locking needed against concurrent modifications of the file
(locking against concurrent IO on the same dquot is still provided by
dq_lock).

Reviewed-by: Andreas Dilger <adilger@dilger.ca>
Signed-off-by: Jan Kara <jack@suse.cz>
fs/quota/quota_v1.c