quota: Push dqio_sem down to ->read_dqblk()
authorJan Kara <jack@suse.cz>
Thu, 8 Jun 2017 13:30:45 +0000 (15:30 +0200)
committerJan Kara <jack@suse.cz>
Thu, 17 Aug 2017 17:01:00 +0000 (19:01 +0200)
commite342e38df925973b86cd46d40bbe7f083414e2ad
treeace185b868c9439b20fc9febf997e29770d4dc37
parent5e8cb9b6249de3ac036ef4cf4b7babc2f4b95d90
quota: Push dqio_sem down to ->read_dqblk()

Push down acquisition of dqio_sem into ->read_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