From: Josef Bacik Date: Fri, 7 Feb 2014 17:21:23 +0000 (-0500) Subject: Btrfs: unlock extent and pages on error in cow_file_range X-Git-Tag: v3.15-rc1~96^2~87 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=29bce2f3997a8dc5195b7a7724362d1e55df7bb2;p=pandora-kernel.git Btrfs: unlock extent and pages on error in cow_file_range When I converted the BUG_ON() for the free_space_cache_inode in cow_file_range I made it so we just return an error instead of unlocking all of our various stuff. This is a mistake and causes us to hang when we run into this. This patch fixes this problem. Thanks, Signed-off-by: Josef Bacik --- Reading git-diff-tree failed