From: Miao Xie Date: Thu, 19 Jun 2014 02:42:55 +0000 (+0800) Subject: Btrfs: fix wrong error handle when the device is missing or is not writeable X-Git-Tag: omap-for-v3.16/fixes-rc4~68^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8408c716d7a4ddd5954ce33f53a7d3cd2876cf65;p=pandora-kernel.git Btrfs: fix wrong error handle when the device is missing or is not writeable The original bio might be submitted, so we shoud increase bi_remaining to account for it when we deal with the error that the device is missing or is not writeable, or we would skip the endio handle. Signed-off-by: Miao Xie Signed-off-by: Chris Mason --- Reading git-diff-tree failed