Btrfs: fix put dio bio twice when we submit dio bio fail
authorMiao Xie <miaox@cn.fujitsu.com>
Tue, 17 Jun 2014 10:58:59 +0000 (18:58 +0800)
committerChris Mason <clm@fb.com>
Tue, 19 Aug 2014 15:36:24 +0000 (08:36 -0700)
The caller of btrfs_submit_direct_hook() will put the original dio bio
when btrfs_submit_direct_hook() return a error number, so we needn't
put the original bio in btrfs_submit_direct_hook().

Signed-off-by: Miao Xie <miaox@cn.fujitsu.com>
Signed-off-by: Chris Mason <clm@fb.com>

No differences found