diff options
Diffstat (limited to 'fs/btrfs/inode.c')
-rw-r--r-- | fs/btrfs/inode.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/btrfs/inode.c b/fs/btrfs/inode.c index 0f14697becef..7daef8d37006 100644 --- a/fs/btrfs/inode.c +++ b/fs/btrfs/inode.c | |||
@@ -359,7 +359,7 @@ int __btrfs_submit_bio_hook(struct inode *inode, int rw, struct bio *bio, | |||
359 | 359 | ||
360 | kfree(sums); | 360 | kfree(sums); |
361 | 361 | ||
362 | return btrfs_map_bio(root, rw, bio, mirror_num); | 362 | return btrfs_map_bio(root, rw, bio, mirror_num, 1); |
363 | } | 363 | } |
364 | 364 | ||
365 | int btrfs_submit_bio_hook(struct inode *inode, int rw, struct bio *bio, | 365 | int btrfs_submit_bio_hook(struct inode *inode, int rw, struct bio *bio, |
@@ -383,7 +383,7 @@ int btrfs_submit_bio_hook(struct inode *inode, int rw, struct bio *bio, | |||
383 | inode, rw, bio, mirror_num, | 383 | inode, rw, bio, mirror_num, |
384 | __btrfs_submit_bio_hook); | 384 | __btrfs_submit_bio_hook); |
385 | mapit: | 385 | mapit: |
386 | return btrfs_map_bio(root, rw, bio, mirror_num); | 386 | return btrfs_map_bio(root, rw, bio, mirror_num, 0); |
387 | } | 387 | } |
388 | 388 | ||
389 | int btrfs_readpage_io_hook(struct page *page, u64 start, u64 end) | 389 | int btrfs_readpage_io_hook(struct page *page, u64 start, u64 end) |