On Mon, Nov 06, 2017 at 05:03:40PM -0800, Darrick J. Wong wrote: > From: Darrick J. Wong <darrick.wong@xxxxxxxxxx> > > There are two ways to scrub an inode -- calling xfs_iget and checking > the raw inode core, or by loading the inode cluster buffer and checking > the on-disk contents directly. The second method is only useful if > _iget fails the verifiers; when this is the case, sc->ip is NULL and > calling the tracepoint will cause a system crash. > > Therefore, pass the raw inode number directly into the _preen and > _warning functions. > > Reported-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx> > Signed-off-by: Darrick J. Wong <darrick.wong@xxxxxxxxxx> Simple enough. Looks ok 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