]> asedeno.scripts.mit.edu Git - linux.git/commit
quota: Remove locking for reading from the old quota format
authorJan Kara <jack@suse.cz>
Thu, 8 Jun 2017 13:43:13 +0000 (15:43 +0200)
committerJan Kara <jack@suse.cz>
Thu, 17 Aug 2017 17:01:16 +0000 (19:01 +0200)
commit47cdc11deed639ae1d4050efbc284d328c3c2fa5
tree288702be32fe962ae34b7abd386eaa2dc25ccb9a
parente342e38df925973b86cd46d40bbe7f083414e2ad
quota: Remove locking for reading from the old quota format

The old 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