diff options
Diffstat (limited to 'usr/src/uts/common/cpr/cpr_mod.c')
-rw-r--r-- | usr/src/uts/common/cpr/cpr_mod.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/usr/src/uts/common/cpr/cpr_mod.c b/usr/src/uts/common/cpr/cpr_mod.c index 008cf5d73c..1b26cf38f1 100644 --- a/usr/src/uts/common/cpr/cpr_mod.c +++ b/usr/src/uts/common/cpr/cpr_mod.c @@ -44,6 +44,7 @@ extern int i_cpr_is_supported(int sleeptype); extern int cpr_is_ufs(struct vfs *); +extern int cpr_is_zfs(struct vfs *); extern int cpr_check_spec_statefile(void); extern int cpr_reusable_mount_check(void); extern int i_cpr_reusable_supported(void); @@ -341,7 +342,8 @@ cpr(int fcn, void *mdep) } if (!i_cpr_is_supported(cpr_sleeptype) || - (cpr_sleeptype == CPR_TODISK && !cpr_is_ufs(rootvfs))) + (cpr_sleeptype == CPR_TODISK && + !cpr_is_ufs(rootvfs)&& !cpr_is_zfs(rootvfs))) return (ENOTSUP); if (fcn == AD_CHECK_SUSPEND_TO_RAM || |