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

Christoph Hellwig
2011-10-10T14:17:40Z

> 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@lst.de>