From: Liu Bo Date: Wed, 27 Feb 2013 13:28:24 +0000 (+0000) Subject: Btrfs: fix memory leak of log roots X-Git-Tag: v3.9-rc1~17^2~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3321719ed67440bba1b0c5ae19c30d640263ccc8;p=pandora-kernel.git Btrfs: fix memory leak of log roots When we abort a transaction while fsyncing, we'll skip freeing log roots part of committing a transaction, which leads to memory leak. This adds a 'free log roots' in putting super when no more users hold references on log roots, so it's safe and clean. Signed-off-by: Liu Bo Signed-off-by: Josef Bacik --- Reading git-diff-tree failed