diff options
author | Miao Xie <miaox@cn.fujitsu.com> | 2014-06-17 18:58:59 +0800 |
---|---|---|
committer | Chris Mason <clm@fb.com> | 2014-08-19 08:36:24 -0700 |
commit | 7a5c3c9be1059feed0e470c6dc0994dcaed4f12c (patch) | |
tree | 4db44a245a5dfdd21c84d31f7b8dfaace72ef34e /fs/btrfs/file.c | |
parent | 8d875f95da43c6a8f18f77869f2ef26e9594fecc (diff) | |
download | linux-7a5c3c9be1059feed0e470c6dc0994dcaed4f12c.tar.bz2 |
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>
Diffstat (limited to 'fs/btrfs/file.c')
0 files changed, 0 insertions, 0 deletions