commit | 7a5c3c9be1059feed0e470c6dc0994dcaed4f12c | [log] [tgz] |
---|---|---|
author | Miao Xie <miaox@cn.fujitsu.com> | Tue Jun 17 18:58:59 2014 +0800 |
committer | Chris Mason <clm@fb.com> | Tue Aug 19 08:36:24 2014 -0700 |
tree | 4db44a245a5dfdd21c84d31f7b8dfaace72ef34e | |
parent | 8d875f95da43c6a8f18f77869f2ef26e9594fecc [diff] |
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: Miao Xie <miaox@cn.fujitsu.com> Signed-off-by: Chris Mason <clm@fb.com>