summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/check-integrity.h
diff options
context:
space:
mode:
authorKent Overstreet <kmo@daterainc.com>2013-11-24 07:33:32 +0100
committerKent Overstreet <kmo@daterainc.com>2013-11-24 07:33:38 +0100
commit33879d4512c021ae65be9706608dacb36b4687b1 (patch)
tree40b8e604aaa7138685a41778bebb4901a1b2610c /fs/btrfs/check-integrity.h
parentLinux 3.13-rc1 (diff)
downloadlinux-33879d4512c021ae65be9706608dacb36b4687b1.tar.xz
linux-33879d4512c021ae65be9706608dacb36b4687b1.zip
block: submit_bio_wait() conversions
It was being open coded in a few places. Signed-off-by: Kent Overstreet <kmo@daterainc.com> Cc: Jens Axboe <axboe@kernel.dk> Cc: Joern Engel <joern@logfs.org> Cc: Prasad Joshi <prasadjoshi.linux@gmail.com> Cc: Neil Brown <neilb@suse.de> Cc: Chris Mason <chris.mason@fusionio.com> Acked-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'fs/btrfs/check-integrity.h')
-rw-r--r--fs/btrfs/check-integrity.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/btrfs/check-integrity.h b/fs/btrfs/check-integrity.h
index 8b59175cc502..13b8566c97ab 100644
--- a/fs/btrfs/check-integrity.h
+++ b/fs/btrfs/check-integrity.h
@@ -22,9 +22,11 @@
#ifdef CONFIG_BTRFS_FS_CHECK_INTEGRITY
int btrfsic_submit_bh(int rw, struct buffer_head *bh);
void btrfsic_submit_bio(int rw, struct bio *bio);
+int btrfsic_submit_bio_wait(int rw, struct bio *bio);
#else
#define btrfsic_submit_bh submit_bh
#define btrfsic_submit_bio submit_bio
+#define btrfsic_submit_bio_wait submit_bio_wait
#endif
int btrfsic_mount(struct btrfs_root *root,