summaryrefslogtreecommitdiffstats
path: root/fs/pstore
diff options
context:
space:
mode:
authorDave Chinner2011-04-08 04:45:07 +0200
committerDave Chinner2011-04-08 04:45:07 +0200
commitbe65b18a10e62321c5ba09a1dc0f70babeb0eba1 (patch)
tree512dba387c91b778c4e2b9fafa42bfef7f074bb7 /fs/pstore
parentxfs: push the AIL from memory reclaim and periodic sync (diff)
downloadkernel-qcow2-linux-be65b18a10e62321c5ba09a1dc0f70babeb0eba1.tar.gz
kernel-qcow2-linux-be65b18a10e62321c5ba09a1dc0f70babeb0eba1.tar.xz
kernel-qcow2-linux-be65b18a10e62321c5ba09a1dc0f70babeb0eba1.zip
xfs: catch bad block numbers freeing extents.
A fuzzed filesystem crashed a kernel when freeing an extent with a block number beyond the end of the filesystem. Convert all the debug asserts in xfs_free_extent() to active checks so that we catch bad extents and return that the filesytsem is corrupted rather than crashing. Signed-off-by: Dave Chinner <dchinner@redhat.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Alex Elder <aelder@sgi.com>
Diffstat (limited to 'fs/pstore')
0 files changed, 0 insertions, 0 deletions