commit | eeee0d6a9bc93eaa211918c203fde263d44fa20e | [log] [tgz] |
---|---|---|
author | Darrick J. Wong <darrick.wong@oracle.com> | Sun Jun 03 16:10:14 2018 -0700 |
committer | Darrick J. Wong <darrick.wong@oracle.com> | Mon Jun 04 14:45:30 2018 -0700 |
tree | dc57a131d7b8e04da8157835efdbbfd0b19035c1 | |
parent | a37f7b127ed3dcfab3edc105482891711c1966b3 [diff] |
xfs: btree lookup shouldn't ASSERT on empty btree nodes If a btree lookup encounters an empty btree node or an empty btree leaf on a multi-level btree, that's evidence of a corrupt on-disk btree. Therefore, we should return -EFSCORRUPTED to the upper levels, not an ASSERT failure. Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Reviewed-by: Dave Chinner <dchinner@redhat.com>