OSDN Git Service

quota: Push dqio_sem down to ->read_file_info()
authorJan Kara <jack@suse.cz>
Fri, 9 Jun 2017 06:59:46 +0000 (08:59 +0200)
committerJan Kara <jack@suse.cz>
Thu, 17 Aug 2017 17:16:24 +0000 (19:16 +0200)
commit42fdb8583d5a7eaf916c7323fce6cb4728f364c4
treeab56d2a8a3735eb3e94c35cf834050ab54851e4b
parent9a8ae30e73cb8827dd0a8ae5fd505db457cfb7ed
quota: Push dqio_sem down to ->read_file_info()

Push down acquisition of dqio_sem into ->read_file_info() callback. This
is for consistency with other operations and it also allows us to get
rid of an ugliness in OCFS2.

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