Btrfs: fix missing error handler if submiting re-read bio fails
authorMiao Xie <miaox@cn.fujitsu.com>
Fri, 12 Sep 2014 10:43:57 +0000 (18:43 +0800)
committerChris Mason <clm@fb.com>
Wed, 17 Sep 2014 20:38:54 +0000 (13:38 -0700)
commit6c387ab20db15f2bd448f7c508e2638101b16ea1
tree52b1bbe1cb2d847f10e7b790ea96d73cc968cbdc
parentc1dc08967f69c6b5067f8302c600f6628123f3bf
Btrfs: fix missing error handler if submiting re-read bio fails

We forgot to free failure record and bio after submitting re-read bio failed,
fix it.

Signed-off-by: Miao Xie <miaox@cn.fujitsu.com>
Signed-off-by: Chris Mason <clm@fb.com>
fs/btrfs/extent_io.c