summaryrefslogtreecommitdiff
path: root/fs/xfs/xfs_dquot_item_recover.c
diff options
context:
space:
mode:
authorDarrick J. Wong <darrick.wong@oracle.com>2020-05-01 16:00:50 -0700
committerDarrick J. Wong <darrick.wong@oracle.com>2020-05-08 08:49:59 -0700
commit2565a11b224b68a222838d09623c6a398c4d5f6c (patch)
tree62e6ee42388cc44d5ed4f590d37395e79ebb63b7 /fs/xfs/xfs_dquot_item_recover.c
parent3c6ba3cf90c7233359a190c5230a553d19fbc8ef (diff)
xfs: remove log recovery quotaoff item dispatch for pass2 commit functions
Quotaoff doesn't actually do anything, so take advantage of the commit_pass2 pointer being optional and get rid of the switch statement clause. Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Reviewed-by: Chandan Babu R <chandanrlinux@gmail.com> Reviewed-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'fs/xfs/xfs_dquot_item_recover.c')
-rw-r--r--fs/xfs/xfs_dquot_item_recover.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/xfs/xfs_dquot_item_recover.c b/fs/xfs/xfs_dquot_item_recover.c
index 07ff943972a3..3400be4c88f0 100644
--- a/fs/xfs/xfs_dquot_item_recover.c
+++ b/fs/xfs/xfs_dquot_item_recover.c
@@ -197,4 +197,5 @@ xlog_recover_quotaoff_commit_pass1(
const struct xlog_recover_item_ops xlog_quotaoff_item_ops = {
.item_type = XFS_LI_QUOTAOFF,
.commit_pass1 = xlog_recover_quotaoff_commit_pass1,
+ /* nothing to commit in pass2 */
};