commit | 1f432a887e9a5a5c25be6ac72b5da13652c8bed3 | [log] [tgz] |
---|---|---|
author | Dave Chinner <dchinner@redhat.com> | Thu Jul 12 07:40:42 2012 +1000 |
committer | Ben Myers <bpm@sgi.com> | Fri Jul 13 12:47:58 2012 -0500 |
tree | 8988bb270ea862ea34315ccbc8698c90bcf236d7 | |
parent | 9b73bd7b61f320ffe7bda0126592ccf836d7ef90 [diff] |
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 <dchinner@redhat.com> Tested-by: Mike Snitzer <snitzer@redhat.com> Signed-off-by: Ben Myers <bpm@sgi.com>