]> git.proxmox.com Git - mirror_zfs.git/commit
OpenZFS 9193 - bootcfg -C doesn't work
authorPaul Dagnelie <pcd@delphix.com>
Thu, 23 Mar 2017 22:28:22 +0000 (15:28 -0700)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Thu, 22 Mar 2018 23:16:55 +0000 (16:16 -0700)
commit387b6856d6d6997ae5849b8ad9155433fff6f077
tree68eb888d547c7799acbeb3a667d716342a4420e9
parent910f3ce7395bdf83c431a962e34d932c3b77224c
OpenZFS 9193 - bootcfg -C doesn't work

When given an empty string as a rootds value, bootcfg -C fails with
the error message 'could not set nextboot: '' is an invalid name'.
This should be allowed because it represents clearing the nextboot
configuration.

Authored by: Paul Dagnelie <pcd@delphix.com>
Reviewed by: Chris Williamson <chris.williamson@delphix.com>
Reviewed by: Sebastien Roy <sebastien.roy@delphix.com>
Reviewed by: Igor Kozhukhov <igor@dilos.org>
Reviewed-by: George Melikov <mail@gmelikov.ru>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Approved by: Robert Mustacchi <rm@joyent.com>
Ported-by: Giuseppe Di Natale <dinatale2@llnl.gov>
OpenZFS-issue: https://www.illumos.org/issues/9193
OpenZFS-commit: https://github.com/openzfs/openzfs/commit/504645d227
Closes #7230
lib/libzfs/libzfs_pool.c