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

Christoph Hellwig hch at infradead.org
Sun Jan 17 05:52:12 CST 2010


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




More information about the xfs mailing list