On Wed, Oct 11, 2017 at 06:41:01PM -0700, Darrick J. Wong wrote: > From: Darrick J. Wong <darrick.wong@xxxxxxxxxx> > > Refactor the btree pointer checks so that we can call them from the > scrub code without logging errors to dmesg. Preserve the existing error > reporting for regular operations. > > Signed-off-by: Darrick J. Wong <darrick.wong@xxxxxxxxxx> > --- > fs/xfs/libxfs/xfs_bmap.c | 4 +-- > fs/xfs/libxfs/xfs_btree.c | 70 +++++++++++++++++++++------------------------ > fs/xfs/libxfs/xfs_btree.h | 13 +++++++- > 3 files changed, 45 insertions(+), 42 deletions(-) Reviewed-by: Dave Chinner <dchinner@xxxxxxxxxx> -- Dave Chinner david@xxxxxxxxxxxxx -- To unsubscribe from this list: send the line "unsubscribe linux-xfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html