]> git.baikalelectronics.ru Git - kernel.git/commit
Btrfs: put the right bio if we have an error
authorJosef Bacik <josef@redhat.com>
Mon, 25 Apr 2011 23:43:52 +0000 (19:43 -0400)
committerChris Mason <chris.mason@oracle.com>
Mon, 25 Apr 2011 23:43:52 +0000 (19:43 -0400)
commit1c7a779dea66ad0b57becc5855310a749919dbfd
tree40741804bbf62d942c5b440345de03866cb46c41
parentb9f26003abd8e0c3c6586194e0d0094288dfab88
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>
fs/btrfs/inode.c