]> 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)
commit508d98fdf5bc2eddb466c67580f18141ca1a5f0d
tree288702be32fe962ae34b7abd386eaa2dc25ccb9a
parent3ce05e56c94e0a10dd67763024c6483d384db5a9
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