diff options
author | Miao Xie <miaox@cn.fujitsu.com> | 2014-06-19 10:42:55 +0800 |
---|---|---|
committer | Chris Mason <clm@fb.com> | 2014-06-19 14:20:56 -0700 |
commit | 8408c716d7a4ddd5954ce33f53a7d3cd2876cf65 (patch) | |
tree | 870ecde1af3c547ed7e067a86d4fa93740581b0d /fs/binfmt_elf_fdpic.c | |
parent | c55f13964008bfea7c5bee268f28b699cbad7f00 (diff) | |
download | linux-8408c716d7a4ddd5954ce33f53a7d3cd2876cf65.tar.bz2 |
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 'fs/binfmt_elf_fdpic.c')
0 files changed, 0 insertions, 0 deletions