Signed-off-by: Jan Schmidt <list.bt...@jan-o-sch.net> --- btrfs-vol.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-)
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); -- 1.7.2.2 -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html