Skip to content
Commit 7a5c3c9b authored by Miao Xie's avatar Miao Xie Committed by Chris Mason
Browse files

Btrfs: fix put dio bio twice when we submit dio bio fail



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: default avatarMiao Xie <miaox@cn.fujitsu.com>
Signed-off-by: default avatarChris Mason <clm@fb.com>
parent 8d875f95
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment