[PATCH 5/5] repair: prevent blkmap extent count overflows

Christoph Hellwig hch at infradead.org
Mon Oct 10 09:17:38 CDT 2011


> Add overflow detection code into the blkmap allocation code to avoid
> this problem.

The code looks a bit odd with the conditional defintion of
BLKMAP_NEXTS_MAX, and the ifdefed printfs after that, but I can't
think of a better way to handle it either.


Reviewed-by: Christoph Hellwig <hch at lst.de>




More information about the xfs mailing list