From: Josef Bacik Date: Thu, 31 May 2012 19:54:30 +0000 (-0400) Subject: Btrfs: fix btrfs_destroy_marked_extents X-Git-Tag: v3.5-rc3~18^2~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ee670f0af35871edb492db5ba406cef36d1b7c21;p=pandora-kernel.git Btrfs: fix btrfs_destroy_marked_extents So we're forcing the eb's to have their ref count set to 1 so invalidatepage works but this breaks lots of things, for example root nodes, and is just plain wrong, we don't need to just evict all of this stuff. Also drop the invalidatepage altogether and add a page_cache_release(). With this patch we no longer hang when trying to access the root nodes after an aborted transaction and we no longer leak memory. Thanks, Signed-off-by: Josef Bacik --- Reading git-diff-tree failed