]> www.infradead.org Git - users/jedix/linux-maple.git/commit
btrfs: ->submit_bio_hook error push-up
authorJeff Mahoney <jeffm@suse.com>
Tue, 4 Oct 2011 03:23:14 +0000 (23:23 -0400)
committerMaxim Uvarov <maxim.uvarov@oracle.com>
Wed, 14 Nov 2012 16:24:37 +0000 (08:24 -0800)
commit8a4d2960b8f0860b5ebf31e60bd74d5d4749af1d
tree7cd771e95ce3d5087ff3625b3ef731459cdd3321
parente94fee68d61423af7582f49931b7f4fceb69d982
btrfs: ->submit_bio_hook error push-up

This pushes failures from the submit_bio_hook callbacks,
btrfs_submit_bio_hook and btree_submit_bio_hook into the callers, including
callers of submit_one_bio where it catches the failures with BUG_ON.

It also pushes up through the ->readpage_io_failed_hook to
end_bio_extent_writepage where the error is already caught with BUG_ON.

Signed-off-by: Jeff Mahoney <jeffm@suse.com>
(cherry picked from commit 355808c296c6923db6705f43639969a80b16d15d)

Conflicts:

fs/btrfs/extent_io.c
fs/btrfs/inode.c

Signed-off-by: Liu Bo <bo.li.liu@oracle.com>
fs/btrfs/disk-io.c
fs/btrfs/extent_io.c
fs/btrfs/inode.c