xfs: drop dop param from xfs_defer_op_type ->finish_item() callback
The dfops infrastructure ->finish_item() callback passes the transaction and dfops as separate parameters. Since dfops is always part of a transaction, the latter parameter is no longer necessary. Remove it from the various callbacks. 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
a8198666fb
commit
7dbddbaccd
@@ -50,8 +50,8 @@ struct xfs_defer_op_type {
|
||||
unsigned int max_items;
|
||||
void (*abort_intent)(void *);
|
||||
void *(*create_done)(struct xfs_trans *, void *, unsigned int);
|
||||
int (*finish_item)(struct xfs_trans *, struct xfs_defer_ops *,
|
||||
struct list_head *, void *, void **);
|
||||
int (*finish_item)(struct xfs_trans *, struct list_head *, void *,
|
||||
void **);
|
||||
void (*finish_cleanup)(struct xfs_trans *, void *, int);
|
||||
void (*cancel_item)(struct list_head *);
|
||||
int (*diff_items)(void *, struct list_head *, struct list_head *);
|
||||
|
Reference in New Issue
Block a user