Btrfs: put the right bio if we have an error

In btrfs_submit_direct_hook if the first btrfs_map_block fails we need to put
the orig_bio, not bio.

Signed-off-by: Josef Bacik <josef@redhat.com>
Signed-off-by: Chris Mason <chris.mason@oracle.com>

authored by Josef Bacik and committed by Chris Mason 64728bbb a4f0162f

+1 -1
+1 -1
fs/btrfs/inode.c
··· 6041 ret = btrfs_map_block(map_tree, READ, start_sector << 9, 6042 &map_length, NULL, 0); 6043 if (ret) { 6044 - bio_put(bio); 6045 return -EIO; 6046 } 6047
··· 6041 ret = btrfs_map_block(map_tree, READ, start_sector << 9, 6042 &map_length, NULL, 0); 6043 if (ret) { 6044 + bio_put(orig_bio); 6045 return -EIO; 6046 } 6047