Message ID | 1296568490-13264-8-git-send-email-list.btrfs@jan-o-sch.net (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/btrfs-vol.c b/btrfs-vol.c index 4ed799d..138c69c 100644 --- a/btrfs-vol.c +++ b/btrfs-vol.c @@ -143,7 +143,8 @@ int main(int ac, char **av) exit(1); } if (cmd == BTRFS_IOC_ADD_DEV) { - ret = btrfs_prepare_device(devfd, device, 1, &dev_block_count); + ret = btrfs_prepare_device(devfd, device, 1, &dev_block_count, + BTRFS_DEVCLASS_ALL); if (ret) { fprintf(stderr, "Unable to init %s\n", device); exit(1);