xfs: don't assert when on-disk btree pointers are garbage
authorDarrick J. Wong <darrick.wong@oracle.com>
Sun, 3 Jun 2018 23:10:12 +0000 (16:10 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Tue, 5 Jun 2018 01:25:05 +0000 (18:25 -0700)
commit85ae01098c1a6a8e3ce908f8808f2d8f8effdbe3
tree9a5fdf57b2af55ce2025110963db9432ac4f11c7
parente63a1008ee08334ea6a9c9edb59b1d2763f5b231
xfs: don't assert when on-disk btree pointers are garbage

Don't ASSERT when we encounter bad on-disk btree pointers in the debug
check functions.  Log the error to leave breadcrumbs and let the upper
layers deal with it.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
fs/xfs/libxfs/xfs_btree.c