aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs
diff options
context:
space:
mode:
Diffstat (limited to 'fs/btrfs')
-rw-r--r--fs/btrfs/volumes.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/volumes.c b/fs/btrfs/volumes.c
index 14b2d19c842c..4ff9c06cb1be 100644
--- a/fs/btrfs/volumes.c
+++ b/fs/btrfs/volumes.c
@@ -5494,7 +5494,7 @@ static int __btrfs_map_block(struct btrfs_fs_info *fs_info, int op,
5494 } 5494 }
5495 5495
5496 } else if (map->type & BTRFS_BLOCK_GROUP_DUP) { 5496 } else if (map->type & BTRFS_BLOCK_GROUP_DUP) {
5497 if (op == REQ_OP_WRITE || REQ_OP_DISCARD || 5497 if (op == REQ_OP_WRITE || op == REQ_OP_DISCARD ||
5498 op == REQ_GET_READ_MIRRORS) { 5498 op == REQ_GET_READ_MIRRORS) {
5499 num_stripes = map->num_stripes; 5499 num_stripes = map->num_stripes;
5500 } else if (mirror_num) { 5500 } else if (mirror_num) {