aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-sub-ui.c
diff options
context:
space:
mode:
authorDave Chinner <[email protected]>2023-06-05 14:48:15 +1000
committerDave Chinner <[email protected]>2023-06-05 14:48:15 +1000
commit7dfee17b13e5024c5c0ab1911859ded4182de3e5 (patch)
tree50a2ec77f1c5291f2d10d5f910c5eeeb7e348402 /lib/mpi/mpi-sub-ui.c
parent3148ebf2c0782340946732bfaf3073d23ac833fa (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 <[email protected]> Reviewed-by: Christoph Hellwig <[email protected]> Reviewed-by: Darrick J. Wong <[email protected]> Signed-off-by: Dave Chinner <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions