[PATCH] xfs: really fix the cursor leak in xfs_alloc_ag_vextent_near

Christoph Hellwig hch at infradead.org
Tue Jul 3 11:06:34 CDT 2012


On Tue, Jul 03, 2012 at 05:11:29PM +1000, Dave Chinner wrote:
> From: Dave Chinner <dchinner at redhat.com>
> 
> The current cursor is reallocated when retrying the allocation, so
> the existing cursor needs to be destroyed in both the restart and
> the failure cases.

Looks good,

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



More information about the xfs mailing list