diff mbox

[7/7] made btrfs-vol compile. looks unused, so no speed class support here for now.

Message ID 1296568490-13264-8-git-send-email-list.btrfs@jan-o-sch.net (mailing list archive)
State New, archived
Headers show

Commit Message

Jan Schmidt Feb. 1, 2011, 1:54 p.m. UTC
None
diff mbox

Patch

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);