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.5~28^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e3a746f5aab71f2dd0a83116772922fb37ae29d6;p=pandora-kernel.git xfs: really fix the cursor leak in xfs_alloc_ag_vextent_near 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 --- Reading git-diff-tree failed