mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-28 17:39:23 +03:00
FreeBSD: Add option to rewind checkpoint while importing root pool
This option is used by FreeBSD boot loader. Reviewed-by: Ryan Moeller <ryan@iXsystems.com> Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Mariusz Zaborski <oshogbo@vexillium.org> Closes #10738
This commit is contained in:
@@ -1580,7 +1580,7 @@ zfs_mount(vfs_t *vfsp)
|
||||
|
||||
error = getpoolname(osname, pname);
|
||||
if (error == 0)
|
||||
error = spa_import_rootpool(pname);
|
||||
error = spa_import_rootpool(pname, false);
|
||||
if (error)
|
||||
goto out;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user