diff options
author | David Sterba <dsterba@suse.com> | 2016-02-15 16:28:03 +0100 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2016-04-28 10:59:13 +0200 |
commit | 621292bae6ae3b25cd3124b63603d01df4cccfb6 (patch) | |
tree | 4d9d9caef803125a9f10311c3ea5cf275c52078a /fs/btrfs/volumes.h | |
parent | btrfs: pass number of devices to btrfs_check_raid_min_devices (diff) | |
download | linux-621292bae6ae3b25cd3124b63603d01df4cccfb6.tar.xz linux-621292bae6ae3b25cd3124b63603d01df4cccfb6.zip |
btrfs: introduce raid-type to error-code table, for minimum device constraint
Reviewed-by: Anand Jain <anand.jain@oracle.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/volumes.h')
-rw-r--r-- | fs/btrfs/volumes.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/volumes.h b/fs/btrfs/volumes.h index c73d027e2f8b..a13a538cb01e 100644 --- a/fs/btrfs/volumes.h +++ b/fs/btrfs/volumes.h @@ -340,7 +340,7 @@ struct btrfs_raid_attr { }; extern const struct btrfs_raid_attr btrfs_raid_array[BTRFS_NR_RAID_TYPES]; - +extern const int btrfs_raid_mindev_error[BTRFS_NR_RAID_TYPES]; extern const u64 btrfs_raid_group[BTRFS_NR_RAID_TYPES]; struct map_lookup { |