xfs: streamline defer op type handling
There's no need to bundle a pointer to the defer op type into the defer op control structure. Instead, store the defer op type enum, which enables us to shorten some of the lines. Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Reviewed-by: Eric Sandeen <sandeen@redhat.com> Reviewed-by: Brian Foster <bfoster@redhat.com>
This commit is contained in:
@@ -246,7 +246,6 @@ xfs_rmap_update_cancel_item(
|
||||
}
|
||||
|
||||
const struct xfs_defer_op_type xfs_rmap_update_defer_type = {
|
||||
.type = XFS_DEFER_OPS_TYPE_RMAP,
|
||||
.max_items = XFS_RUI_MAX_FAST_EXTENTS,
|
||||
.diff_items = xfs_rmap_update_diff_items,
|
||||
.create_intent = xfs_rmap_update_create_intent,
|
||||
|
Reference in New Issue
Block a user