From: Chris Mason Date: Thu, 11 Jun 2009 15:24:47 +0000 (-0400) Subject: Btrfs: fix extent_buffer leak during tree log replay X-Git-Tag: v2.6.31-rc1~380^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b263c2c8bf13c273485bd99dbbeba79c844409dd;p=pandora-kernel.git Btrfs: fix extent_buffer leak during tree log replay During tree log replay, we read in the tree log roots, process them and then free them. A recent change takes an extra reference on the root node of the tree when the root is read in, and stores that reference in root->commit_root. This reference was not being freed, leaving us with one buffer pinned in ram for each subvol with a tree log root after a crash. Signed-off-by: Chris Mason --- Reading git-diff-tree failed