quota: Do not acquire dqio_sem for dquot overwrites in v2 format
authorJan Kara <jack@suse.cz>
Thu, 8 Jun 2017 14:09:46 +0000 (16:09 +0200)
committerJan Kara <jack@suse.cz>
Thu, 17 Aug 2017 17:03:16 +0000 (19:03 +0200)
commitd2faa415166b2883428efa92f451774ef44373ac
tree24e3f4fc0ef864c48f0751090937c09752657942
parent8fc32c2b0db2c9ee0dffebea65bcdea03a29ba5a
quota: Do not acquire dqio_sem for dquot overwrites in v2 format

When dquot has space already allocated in a quota file, we just
overwrite that place when writing dquot. So we don't need any protection
against other modifications of quota file as these keep dquot in place.

Reviewed-by: Andreas Dilger <adilger@dilger.ca>
Signed-off-by: Jan Kara <jack@suse.cz>
fs/quota/quota_v2.c