diff options
| -rw-r--r-- | fs/btrfs/dev-replace.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/fs/btrfs/dev-replace.c b/fs/btrfs/dev-replace.c index fa27b4e3b6c8..0bf41f8b1e23 100644 --- a/fs/btrfs/dev-replace.c +++ b/fs/btrfs/dev-replace.c | |||
| @@ -316,11 +316,6 @@ int btrfs_dev_replace_start(struct btrfs_root *root, | |||
| 316 | struct btrfs_device *tgt_device = NULL; | 316 | struct btrfs_device *tgt_device = NULL; |
| 317 | struct btrfs_device *src_device = NULL; | 317 | struct btrfs_device *src_device = NULL; |
| 318 | 318 | ||
| 319 | if (btrfs_fs_incompat(fs_info, RAID56)) { | ||
| 320 | btrfs_warn(fs_info, "dev_replace cannot yet handle RAID5/RAID6"); | ||
| 321 | return -EOPNOTSUPP; | ||
| 322 | } | ||
| 323 | |||
| 324 | switch (args->start.cont_reading_from_srcdev_mode) { | 319 | switch (args->start.cont_reading_from_srcdev_mode) { |
| 325 | case BTRFS_IOCTL_DEV_REPLACE_CONT_READING_FROM_SRCDEV_MODE_ALWAYS: | 320 | case BTRFS_IOCTL_DEV_REPLACE_CONT_READING_FROM_SRCDEV_MODE_ALWAYS: |
| 326 | case BTRFS_IOCTL_DEV_REPLACE_CONT_READING_FROM_SRCDEV_MODE_AVOID: | 321 | case BTRFS_IOCTL_DEV_REPLACE_CONT_READING_FROM_SRCDEV_MODE_AVOID: |
