From: Mark Tinguely Date: Wed, 2 Oct 2013 12:51:12 +0000 (-0500) Subject: xfs: free the list of recovery items on error X-Git-Tag: v3.14-rc1~123^2~26 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2a84108fe275f95fbe838b1c92b7c45258dcae5c;p=pandora-kernel.git xfs: free the list of recovery items on error Recovery builds a list of items on the transaction's r_itemq head. Normally these items are committed and freed. But in the event of a recovery error, these allocations are leaked. If the error occurs during item reordering, then reconstruct the r_itemq list before deleting the list to avoid leaking the entries that were on one of the temporary lists. Signed-off-by: Mark Tinguely Reviewed-by: Ben Myers Signed-off-by: Ben Myers --- Reading git-diff-tree failed