diff options
author | Miao Xie <miaox@cn.fujitsu.com> | 2014-06-19 06:42:55 +0400 |
---|---|---|
committer | Chris Mason <clm@fb.com> | 2014-06-20 01:20:56 +0400 |
commit | 8408c716d7a4ddd5954ce33f53a7d3cd2876cf65 (patch) | |
tree | 870ecde1af3c547ed7e067a86d4fa93740581b0d /include/linux/i2c/i2c-hid.h | |
parent | c55f13964008bfea7c5bee268f28b699cbad7f00 (diff) | |
download | linux-8408c716d7a4ddd5954ce33f53a7d3cd2876cf65.tar.xz |
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>
Diffstat (limited to 'include/linux/i2c/i2c-hid.h')
0 files changed, 0 insertions, 0 deletions