]> git.itanic.dy.fi Git - linux-stable/commit
xfs: pass the defer ops instead of type to xfs_defer_start_recovery
authorChristoph Hellwig <hch@lst.de>
Thu, 14 Dec 2023 05:16:32 +0000 (06:16 +0100)
committerChandan Babu R <chandanbabu@kernel.org>
Thu, 14 Dec 2023 05:43:38 +0000 (11:13 +0530)
commitdc22af64368291a86fb6b7eb2adab21c815836b7
treec908d2c6bdd56ef7e2be03c6c817580469e8232d
parent7f2f7531e0d455f1abb9f48fbbe17c37e8742590
xfs: pass the defer ops instead of type to xfs_defer_start_recovery

xfs_defer_start_recovery is only called from xlog_recover_intent_item,
and the callers of that all have the actual xfs_defer_ops_type operation
vector at hand.  Pass that directly instead of looking it up from the
defer_op_types table.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Chandan Babu R <chandanbabu@kernel.org>
fs/xfs/libxfs/xfs_defer.c
fs/xfs/libxfs/xfs_defer.h
fs/xfs/libxfs/xfs_log_recover.h
fs/xfs/xfs_attr_item.c
fs/xfs/xfs_bmap_item.c
fs/xfs/xfs_extfree_item.c
fs/xfs/xfs_log_recover.c
fs/xfs/xfs_refcount_item.c
fs/xfs/xfs_rmap_item.c