commit | 8408c716d7a4ddd5954ce33f53a7d3cd2876cf65 | [log] [tgz] |
---|---|---|
author | Miao Xie <miaox@cn.fujitsu.com> | Thu Jun 19 10:42:55 2014 +0800 |
committer | Chris Mason <clm@fb.com> | Thu Jun 19 14:20:56 2014 -0700 |
tree | 870ecde1af3c547ed7e067a86d4fa93740581b0d | |
parent | c55f13964008bfea7c5bee268f28b699cbad7f00 [diff] |
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 <miaox@cn.fujitsu.com> Signed-off-by: Chris Mason <clm@fb.com>