]> 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)
commit6b837bcc88e03c3d6987e785ad8779341b1e68dd
tree6c11d1c6ea99935142062f42163b0c0882c24af9
parent0a8c34e98a6cb7e5d309d0710f8cc8c3e3833d78
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