diff options
author | 2018-06-03 16:10:14 -0700 | |
---|---|---|
committer | 2018-06-04 14:45:30 -0700 | |
commit | eeee0d6a9bc93eaa211918c203fde263d44fa20e (patch) | |
tree | dc57a131d7b8e04da8157835efdbbfd0b19035c1 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | xfs: xfs_alloc_get_rec should return EFSCORRUPTED for obvious bnobt corruption (diff) | |
download | linux-rng-eeee0d6a9bc93eaa211918c203fde263d44fa20e.tar.xz linux-rng-eeee0d6a9bc93eaa211918c203fde263d44fa20e.zip |
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>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions