On Tue, Mar 10, 2020 at 05:47:59PM -0700, Darrick J. Wong wrote: > From: Darrick J. Wong <darrick.wong@xxxxxxxxxx> > > Check the owner field of dir3 block headers. If it's corrupt, release > the buffer and return EFSCORRUPTED. All callers handle this properly. > > Signed-off-by: Darrick J. Wong <darrick.wong@xxxxxxxxxx> > --- > fs/xfs/libxfs/xfs_dir2_block.c | 32 +++++++++++++++++++++++++++++++- > 1 file changed, 31 insertions(+), 1 deletion(-) same comment about xfs_trans_buf_set_type() as the last patch. Otherwise OK. Reviewed-by: Dave Chinner <dchinner@xxxxxxxxxx> -- Dave Chinner david@xxxxxxxxxxxxx