[3.0-stable PATCH 30/36] xfs: fix allocbt cursor leak in xfs_alloc_ag_vextent_near
Dave Chinner
david at fromorbit.com
Tue Dec 11 17:53:24 CST 2012
On Mon, Dec 03, 2012 at 05:42:38PM -0600, Mark Tinguely wrote:
> From: Dave Chinner <dchinner at redhat.com>
>
> Upstream commit: 76d095388b040229ea1aad7dea45be0cfa20f589
>
> When we fail to find an matching extent near the requested extent
> specification during a left-right distance search in
> xfs_alloc_ag_vextent_near, we fail to free the original cursor that
> we used to look up the XFS_BTNUM_CNT tree and hence leak it.
Don't back port this - it's buggy. Just backport the patch that
fixed it properly.
Cheers,
Dave.
--
Dave Chinner
david at fromorbit.com
More information about the xfs
mailing list