diff options
Diffstat (limited to 'fs/btrfs/scrub.c')
-rw-r--r-- | fs/btrfs/scrub.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/fs/btrfs/scrub.c b/fs/btrfs/scrub.c index ddf2c90d3fc0..567e148caca2 100644 --- a/fs/btrfs/scrub.c +++ b/fs/btrfs/scrub.c | |||
@@ -25,6 +25,7 @@ | |||
25 | #include "transaction.h" | 25 | #include "transaction.h" |
26 | #include "backref.h" | 26 | #include "backref.h" |
27 | #include "extent_io.h" | 27 | #include "extent_io.h" |
28 | #include "check-integrity.h" | ||
28 | 29 | ||
29 | /* | 30 | /* |
30 | * This is only the first step towards a full-features scrub. It reads all | 31 | * This is only the first step towards a full-features scrub. It reads all |
@@ -732,7 +733,7 @@ static int scrub_fixup_io(int rw, struct block_device *bdev, sector_t sector, | |||
732 | bio_add_page(bio, page, PAGE_SIZE, 0); | 733 | bio_add_page(bio, page, PAGE_SIZE, 0); |
733 | bio->bi_end_io = scrub_fixup_end_io; | 734 | bio->bi_end_io = scrub_fixup_end_io; |
734 | bio->bi_private = &complete; | 735 | bio->bi_private = &complete; |
735 | submit_bio(rw, bio); | 736 | btrfsic_submit_bio(rw, bio); |
736 | 737 | ||
737 | /* this will also unplug the queue */ | 738 | /* this will also unplug the queue */ |
738 | wait_for_completion(&complete); | 739 | wait_for_completion(&complete); |
@@ -958,7 +959,7 @@ static int scrub_submit(struct scrub_dev *sdev) | |||
958 | sdev->curr = -1; | 959 | sdev->curr = -1; |
959 | atomic_inc(&sdev->in_flight); | 960 | atomic_inc(&sdev->in_flight); |
960 | 961 | ||
961 | submit_bio(READ, sbio->bio); | 962 | btrfsic_submit_bio(READ, sbio->bio); |
962 | 963 | ||
963 | return 0; | 964 | return 0; |
964 | } | 965 | } |