diff options
author | Brian Behlendorf <[email protected]> | 2013-11-14 14:22:52 -0800 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2013-11-14 14:28:35 -0800 |
commit | 64ad2b26e24ae9f70d3a41c786144552c2e6ac12 (patch) | |
tree | b14364a08675cf09aba61099e89f581e8a0fc5c2 /lib | |
parent | 28967367c9e1e97bbd9745da21e26650b508f6f8 (diff) |
Remove the slog restriction on bootfs pools
Under Linux this restriction does not apply because we have access
to all the required devices.
Signed-off-by: Brian Behlendorf <[email protected]>
Closes #1631
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libzfs/libzfs_pool.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/lib/libzfs/libzfs_pool.c b/lib/libzfs/libzfs_pool.c index a221f9fc7..ccaa86bea 100644 --- a/lib/libzfs/libzfs_pool.c +++ b/lib/libzfs/libzfs_pool.c @@ -1409,13 +1409,6 @@ zpool_add(zpool_handle_t *zhp, nvlist_t *nvroot) (void) zfs_error(hdl, EZFS_BADVERSION, msg); break; - case EDOM: - zfs_error_aux(hdl, dgettext(TEXT_DOMAIN, - "root pool can not have multiple vdevs" - " or separate logs")); - (void) zfs_error(hdl, EZFS_POOL_NOTSUP, msg); - break; - case ENOTBLK: zfs_error_aux(hdl, dgettext(TEXT_DOMAIN, "cache device must be a disk or disk slice")); |