mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-22 02:27:36 +03:00
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 <behlendorf1@llnl.gov> Closes #1631
This commit is contained in:
@@ -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"));
|
||||
|
||||
Reference in New Issue
Block a user