From: Josef Bacik Date: Fri, 20 Jul 2012 20:05:36 +0000 (-0400) Subject: Btrfs: don't return true in releasepage unless we actually freed the eb X-Git-Tag: v3.6-rc1~81^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e64860aa05048fa7a8483ca698b17c2caf5625cf;p=pandora-kernel.git Btrfs: don't return true in releasepage unless we actually freed the eb I noticed while looking at an extent_buffer race that we will unconditionally return 1 if we get down to release_extent_buffer after clearing the tree ref. However we can easily race in here and get a ref on the eb and not actually free the eb. So make release_extent_buffer return 1 if it free'd the eb and 0 if not so we can be a little kinder to the vm. Thanks, Signed-off-by: Josef Bacik --- Reading git-diff-tree failed