]> git.baikalelectronics.ru Git - kernel.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)
commite0d5b9482bdca0dda1a025abb1ccde4b0e3e6bed
tree288702be32fe962ae34b7abd386eaa2dc25ccb9a
parentfaf0cb9d4a1d6ab78c7314cd3f894dbc49c563f9
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