From: Miao Xie Date: Tue, 17 Jun 2014 10:58:59 +0000 (+0800) Subject: Btrfs: fix put dio bio twice when we submit dio bio fail X-Git-Tag: omap-fixes-against-v3.17-rc3~41^2~23 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7a5c3c9be1059feed0e470c6dc0994dcaed4f12c;p=pandora-kernel.git 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 Signed-off-by: Chris Mason --- Reading git-diff-tree failed