aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/dell_rbu.txt
diff options
context:
space:
mode:
authorDarrick J. Wong <darrick.wong@oracle.com>2018-06-03 16:10:13 -0700
committerDarrick J. Wong <darrick.wong@oracle.com>2018-06-04 18:25:04 -0700
commite4f45eff86fdbafd8e0ba072fd52422e32e5b5ac (patch)
tree1377fb33c226a3c230e1f51e638fcf6edb8c089c /Documentation/dell_rbu.txt
parent924cade4df49e7c9fddcbae678dbd9dee3b0aeb6 (diff)
downloadlinux-e4f45eff86fdbafd8e0ba072fd52422e32e5b5ac.tar.gz
xfs: check directory bestfree information in the verifier
Create a variant of xfs_dir2_data_freefind that is suitable for use in a verifier. Because _freefind is called by the verifier, we simply duplicate the _freefind function, convert the ASSERTs to return __this_address, and modify the verifier to call our new function. Once we've made it impossible for directory blocks with bad bestfree data to make it into the filesystem we can remove the DEBUG code from the regular _freefind function. Underlying argument: corruption of on-disk metadata should return -EFSCORRUPTED instead of blowing ASSERTs. Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Reviewed-by: Dave Chinner <dchinner@redhat.com>
Diffstat (limited to 'Documentation/dell_rbu.txt')
0 files changed, 0 insertions, 0 deletions