diff options
Diffstat (limited to 'module')
-rw-r--r-- | module/zfs/spa_config.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/module/zfs/spa_config.c b/module/zfs/spa_config.c index b30c65e71..95dd19844 100644 --- a/module/zfs/spa_config.c +++ b/module/zfs/spa_config.c @@ -100,6 +100,10 @@ spa_config_load(void) err = zfs_file_open(pathname, O_RDONLY, 0, &fp); +#ifdef __FreeBSD__ + if (err) + err = zfs_file_open(ZPOOL_CACHE_BOOT, O_RDONLY, 0, &fp); +#endif kmem_free(pathname, MAXPATHLEN); if (err) |