diff options
Diffstat (limited to 'usr/src')
-rw-r--r-- | usr/src/uts/common/os/devcfg.c | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/usr/src/uts/common/os/devcfg.c b/usr/src/uts/common/os/devcfg.c index 85ae46fd39..b2f6db6cdd 100644 --- a/usr/src/uts/common/os/devcfg.c +++ b/usr/src/uts/common/os/devcfg.c @@ -21,6 +21,9 @@ /* * Copyright (c) 2000, 2010, Oracle and/or its affiliates. All rights reserved. */ +/* + * Copyright 2012 Nexenta Systems, Inc. All rights reserved. + */ #include <sys/note.h> #include <sys/t_lock.h> @@ -4181,11 +4184,11 @@ quiesce_one_device(dev_info_t *dip, void *arg) rc = devi_quiesce(dip); - /* quiesce() should never fail */ - ASSERT(rc == DDI_SUCCESS); - if (rc != DDI_SUCCESS && should_quiesce) { - +#ifdef DEBUG + cmn_err(CE_WARN, "quiesce() failed for %s%d", + ddi_driver_name(dip), ddi_get_instance(dip)); +#endif /* DEBUG */ if (arg != NULL) *((int *)arg) = -1; } |