Darrick J. Wong 924cade4df xfs: don't return garbage buffers in xfs_da3_node_read
If we're reading a node in a dir/attr btree and the buffer comes off the
disk with a magic number we don't recognize, don't ASSERT and don't set
a garbage buffer type (0 also triggers ASSERTs).  Instead, report the
corruption, release the buffer, and return -EFSCORRUPTED because that's
what the dabtree is -- corrupt.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
2018-06-04 14:45:30 -07:00
..
2018-01-29 07:27:22 -08:00
2018-04-17 17:10:17 -07:00
2017-11-16 12:06:45 -08:00
2018-06-01 09:00:16 -07:00
2018-05-30 08:03:15 -07:00
2018-05-30 08:03:15 -07:00