On Sun, Jun 03, 2018 at 04:22:34PM -0700, Darrick J. Wong wrote: > From: Darrick J. Wong <darrick.wong@xxxxxxxxxx> > > Instead of ASSERTing on null btree pointers in xfs_btree_ptr_to_daddr, > use the new block number verifiers to ensure that the btree pointer > doesn't point to any sensitive areas (AG headers, past-EOFS) and return > -EFSCORRUPTED if this is the case. Remove the ASSERT because on-disk > corruptions shouldn't trigger ASSERTs. > > Signed-off-by: Darrick J. Wong <darrick.wong@xxxxxxxxxx> Looks good. 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