xfs: fold dfops into the transaction
struct xfs_defer_ops has now been reduced to a single list_head. The external dfops mechanism is unused and thus everywhere a (permanent) transaction is accessible the associated dfops structure is as well. Remove the xfs_defer_ops structure and fold the list_head into the transaction. Also remove the last remnant of external dfops in xfs_trans_dup(). Signed-off-by: Brian Foster <bfoster@redhat.com> Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
This commit is contained in:
committed by
Darrick J. Wong
parent
c03edc9e49
commit
9d9e623385
@ -7,7 +7,6 @@
|
||||
#define __XFS_DEFER_H__
|
||||
|
||||
struct xfs_defer_op_type;
|
||||
struct xfs_defer_ops;
|
||||
|
||||
/*
|
||||
* Save a log intent item and a list of extents, so that we can replay
|
||||
@ -40,7 +39,6 @@ void xfs_defer_add(struct xfs_trans *tp, enum xfs_defer_ops_type type,
|
||||
int xfs_defer_finish_noroll(struct xfs_trans **tp);
|
||||
int xfs_defer_finish(struct xfs_trans **tp);
|
||||
void xfs_defer_cancel(struct xfs_trans *);
|
||||
void xfs_defer_init(struct xfs_trans *tp, struct xfs_defer_ops *dop);
|
||||
void xfs_defer_move(struct xfs_trans *dtp, struct xfs_trans *stp);
|
||||
|
||||
/* Description of a deferred type. */
|
||||
|
Reference in New Issue
Block a user