Re: [PATCH 3/9] xfsprogs: fix missing error check in xfs_rtfree_range in libxfs

Christoph Hellwig
2010-01-17T11:51:14Z

On Thu, Jan 14, 2010 at 09:09:06PM +1100, Dave Chinner wrote:
> When xfs_rtfind_forw() returns an error, the block is returned
> uninitialised. xfs_rtfree_range() is not checking the error return,
> so could be using an uninitialised block number for modifying bitmap
> summary info.

Looks good, (actually a merge of the kernel side fix that just went in)

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