git://git.camperquake.de
/
zfs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add "ashift" property to zpool create
[zfs.git]
/
cmd
/
zpool
/
zpool_main.c
diff --git
a/cmd/zpool/zpool_main.c
b/cmd/zpool/zpool_main.c
index
3b81573
..
b1bf5bd
100644
(file)
--- a/
cmd/zpool/zpool_main.c
+++ b/
cmd/zpool/zpool_main.c
@@
-488,7
+488,7
@@
zpool_do_add(int argc, char **argv)
}
/* pass off to get_vdev_spec for processing */
}
/* pass off to get_vdev_spec for processing */
- nvroot = make_root_vdev(zhp, force, !force, B_FALSE, dryrun,
+ nvroot = make_root_vdev(zhp,
NULL,
force, !force, B_FALSE, dryrun,
argc, argv);
if (nvroot == NULL) {
zpool_close(zhp);
argc, argv);
if (nvroot == NULL) {
zpool_close(zhp);
@@
-688,7
+688,7
@@
zpool_do_create(int argc, char **argv)
}
/* pass off to get_vdev_spec for bulk processing */
}
/* pass off to get_vdev_spec for bulk processing */
- nvroot = make_root_vdev(NULL, force, !force, B_FALSE, dryrun,
+ nvroot = make_root_vdev(NULL,
props,
force, !force, B_FALSE, dryrun,
argc - 1, argv + 1);
if (nvroot == NULL)
goto errout;
argc - 1, argv + 1);
if (nvroot == NULL)
goto errout;
@@
-2683,7
+2683,7
@@
zpool_do_attach_or_replace(int argc, char **argv, int replacing)
return (1);
}
return (1);
}
- nvroot = make_root_vdev(zhp, force, B_FALSE, replacing, B_FALSE,
+ nvroot = make_root_vdev(zhp,
NULL,
force, B_FALSE, replacing, B_FALSE,
argc, argv);
if (nvroot == NULL) {
zpool_close(zhp);
argc, argv);
if (nvroot == NULL) {
zpool_close(zhp);