]> git.karo-electronics.de Git - linux-beck.git/blobdiff - fs/btrfs/volumes.c
Btrfs: fix wrong max device number for single profile
[linux-beck.git] / fs / btrfs / volumes.c
index 46960983891333163eaddaadcbabccf5cd8f5e20..15f6efdf6463589531f8d1507b74c9d8afd35a3d 100644 (file)
@@ -3507,7 +3507,7 @@ struct btrfs_raid_attr btrfs_raid_array[BTRFS_NR_RAID_TYPES] = {
        { 1, 1, 2, 2, 2, 2 /* raid1 */ },
        { 1, 2, 1, 1, 1, 2 /* dup */ },
        { 1, 1, 0, 2, 1, 1 /* raid0 */ },
-       { 1, 1, 0, 1, 1, 1 /* single */ },
+       { 1, 1, 1, 1, 1, 1 /* single */ },
 };
 
 static int __btrfs_alloc_chunk(struct btrfs_trans_handle *trans,