diff options
author | Miao Xie <miaox@cn.fujitsu.com> | 2014-06-19 04:42:55 +0200 |
---|---|---|
committer | Chris Mason <clm@fb.com> | 2014-06-19 23:20:56 +0200 |
commit | 8408c716d7a4ddd5954ce33f53a7d3cd2876cf65 (patch) | |
tree | 870ecde1af3c547ed7e067a86d4fa93740581b0d /fs/btrfs/hash.h | |
parent | Btrfs: fix deadlock when mounting a degraded fs (diff) | |
download | linux-8408c716d7a4ddd5954ce33f53a7d3cd2876cf65.tar.xz linux-8408c716d7a4ddd5954ce33f53a7d3cd2876cf65.zip |
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/btrfs/hash.h')
0 files changed, 0 insertions, 0 deletions