diff options
author | Dave Chinner <dchinner@redhat.com> | 2023-06-05 14:48:15 +1000 |
---|---|---|
committer | Dave Chinner <david@fromorbit.com> | 2023-06-05 14:48:15 +1000 |
commit | 7dfee17b13e5024c5c0ab1911859ded4182de3e5 (patch) | |
tree | 50a2ec77f1c5291f2d10d5f910c5eeeb7e348402 /tools/testing/selftests/bpf/prog_tests/module_attach.c | |
parent | 3148ebf2c0782340946732bfaf3073d23ac833fa (diff) |
xfs: validate block number being freed before adding to xefi
Bad things happen in defered extent freeing operations if it is
passed a bad block number in the xefi. This can come from a bogus
agno/agbno pair from deferred agfl freeing, or just a bad fsbno
being passed to __xfs_free_extent_later(). Either way, it's very
difficult to diagnose where a null perag oops in EFI creation
is coming from when the operation that queued the xefi has already
been completed and there's no longer any trace of it around....
Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Dave Chinner <david@fromorbit.com>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/module_attach.c')
0 files changed, 0 insertions, 0 deletions