From: Josef Bacik Date: Fri, 25 Oct 2013 20:13:35 +0000 (-0400) Subject: Btrfs: return an error from btrfs_wait_ordered_range X-Git-Tag: v3.13-rc1~85^2~31 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0ef8b726075aa6931ddf1c16f5bae043eef184f9;p=pandora-kernel.git Btrfs: return an error from btrfs_wait_ordered_range I noticed that if the free space cache has an error writing out it's data it won't actually error out, it will just carry on. This is because it doesn't check the return value of btrfs_wait_ordered_range, which didn't actually return anything. So fix this in order to keep us from making free space cache look valid when it really isnt. Thanks, Signed-off-by: Josef Bacik Signed-off-by: Chris Mason --- Reading git-diff-tree failed