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)
commitf0c5bae5cc562307f804335ddec3f793254c3766
tree6c11d1c6ea99935142062f42163b0c0882c24af9
parentd2faa415166b2883428efa92f451774ef44373ac
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