On Mon, Jun 04, 2018 at 09:10:46AM -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> I still get the feling we're going to have to validate ptrs before we pull them from the tree, but this patch is fine. 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