On Tue, Oct 12, 2021 at 04:33:12PM -0700, Darrick J. Wong wrote: > From: Darrick J. Wong <djwong@xxxxxxxxxx> > > Refactor btree allocation to a common helper. > > Signed-off-by: Darrick J. Wong <djwong@xxxxxxxxxx> > Reviewed-by: Chandan Babu R <chandan.babu@xxxxxxxxxx> > Reviewed-by: Christoph Hellwig <hch@xxxxxx> > --- > fs/xfs/libxfs/xfs_alloc_btree.c | 6 +----- > fs/xfs/libxfs/xfs_bmap_btree.c | 6 +----- > fs/xfs/libxfs/xfs_btree.h | 16 ++++++++++++++++ > fs/xfs/libxfs/xfs_ialloc_btree.c | 5 +---- > fs/xfs/libxfs/xfs_refcount_btree.c | 5 +---- > fs/xfs/libxfs/xfs_rmap_btree.c | 5 +---- > 6 files changed, 21 insertions(+), 22 deletions(-) LGTM Reviewed-by: Dave Chinner <dchinner@xxxxxxxxxx> -- Dave Chinner david@xxxxxxxxxxxxx