From: Dave Chinner Date: Wed, 11 Jul 2012 21:40:42 +0000 (+1000) Subject: xfs: really fix the cursor leak in xfs_alloc_ag_vextent_near X-Git-Tag: v3.2.64~262 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d9892580a2f3aa0d369fcec9bd50fd75ecc57dcc;p=pandora-kernel.git xfs: really fix the cursor leak in xfs_alloc_ag_vextent_near commit e3a746f5aab71f2dd0a83116772922fb37ae29d6 upstream. 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. Signed-off-by: Dave Chinner Tested-by: Mike Snitzer Signed-off-by: Ben Myers Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed