diff options
Diffstat (limited to 'fs/btrfs/volumes.c')
-rw-r--r-- | fs/btrfs/volumes.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/fs/btrfs/volumes.c b/fs/btrfs/volumes.c index c58bf19a8a48..7789598eeb75 100644 --- a/fs/btrfs/volumes.c +++ b/fs/btrfs/volumes.c | |||
@@ -4420,9 +4420,6 @@ static int __btrfs_map_block(struct btrfs_fs_info *fs_info, int rw, | |||
4420 | map = (struct map_lookup *)em->bdev; | 4420 | map = (struct map_lookup *)em->bdev; |
4421 | offset = logical - em->start; | 4421 | offset = logical - em->start; |
4422 | 4422 | ||
4423 | if (mirror_num > map->num_stripes) | ||
4424 | mirror_num = 0; | ||
4425 | |||
4426 | stripe_len = map->stripe_len; | 4423 | stripe_len = map->stripe_len; |
4427 | stripe_nr = offset; | 4424 | stripe_nr = offset; |
4428 | /* | 4425 | /* |