xfs: rework xfs_bmap_free callers to use xfs_defer_ops
Restructure everything that used xfs_bmap_free to use xfs_defer_ops instead. For now we'll just remove the old symbols and play some cpp magic to make it work; in the next patch we'll actually rename everything. Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Reviewed-by: Brian Foster <bfoster@redhat.com> Signed-off-by: Dave Chinner <david@fromorbit.com>
This commit is contained in:

committed by
Dave Chinner

parent
9749fee83f
commit
3ab78df2a5
@@ -93,4 +93,11 @@ struct xfs_defer_op_type {
|
||||
|
||||
void xfs_defer_init_op_type(const struct xfs_defer_op_type *type);
|
||||
|
||||
/* XXX: compatibility shims, will go away in the next patch */
|
||||
#define xfs_bmap_finish xfs_defer_finish
|
||||
#define xfs_bmap_cancel xfs_defer_cancel
|
||||
#define xfs_bmap_init xfs_defer_init
|
||||
#define xfs_bmap_free xfs_defer_ops
|
||||
typedef struct xfs_defer_ops xfs_bmap_free_t;
|
||||
|
||||
#endif /* __XFS_DEFER_H__ */
|
||||
|
Reference in New Issue
Block a user