quota: Push dqio_sem down to ->write_dqblk()
authorJan Kara <jack@suse.cz>
Thu, 8 Jun 2017 13:48:16 +0000 (15:48 +0200)
committerJan Kara <jack@suse.cz>
Thu, 17 Aug 2017 17:03:09 +0000 (19:03 +0200)
commit8fc32c2b0db2c9ee0dffebea65bcdea03a29ba5a
tree1ad92b623f562ac9f160fb4ea8e4c9073d2cb4f5
parent47cdc11deed639ae1d4050efbc284d328c3c2fa5
quota: Push dqio_sem down to ->write_dqblk()

Push down acquisition of dqio_sem into ->write_dqblk() callback. It will
allow quota formats to decide whether they need it or not.

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