summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/disk-io.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/btrfs/disk-io.c')
-rw-r--r--fs/btrfs/disk-io.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/btrfs/disk-io.c b/fs/btrfs/disk-io.c
index 38b0d9ecda6a..264f297260f8 100644
--- a/fs/btrfs/disk-io.c
+++ b/fs/btrfs/disk-io.c
@@ -1266,10 +1266,10 @@ struct btrfs_root *open_ctree(struct super_block *sb,
1266 1266
1267 btrfs_parse_options(options, tree_root, NULL); 1267 btrfs_parse_options(options, tree_root, NULL);
1268 1268
1269 if (btrfs_super_num_devices(disk_super) > fs_devices->num_devices) { 1269 if (btrfs_super_num_devices(disk_super) > fs_devices->open_devices) {
1270 printk("Btrfs: wanted %llu devices, but found %llu\n", 1270 printk("Btrfs: wanted %llu devices, but found %llu\n",
1271 (unsigned long long)btrfs_super_num_devices(disk_super), 1271 (unsigned long long)btrfs_super_num_devices(disk_super),
1272 (unsigned long long)fs_devices->num_devices); 1272 (unsigned long long)fs_devices->open_devices);
1273 if (btrfs_test_opt(tree_root, DEGRADED)) 1273 if (btrfs_test_opt(tree_root, DEGRADED))
1274 printk("continuing in degraded mode\n"); 1274 printk("continuing in degraded mode\n");
1275 else { 1275 else {