On Tue, Jan 15, 2019 at 02:42:56PM -0800, Darrick J. Wong wrote: > From: Darrick J. Wong <darrick.wong@xxxxxxxxxx> > > In xrep_findroot_block, we work out the btree type and correctness of a > given block by calling different btree verifiers on root block > candidates. However, we leave the NULL b_ops while ->verify_read > validates the block, which means that if the verifier calls > xfs_buf_verifier_error it'll crash on the null b_ops. Fix it to avoid > this crash. > > Signed-off-by: Darrick J. Wong <darrick.wong@xxxxxxxxxx> > --- > v2: leave a comment about what we're doing above the function > --- Looks good now. Reviewed-by: Dave Chinner <dchinner@xxxxxxxxxx> -- Dave Chinner david@xxxxxxxxxxxxx