summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVijay Balakrishna, SG-RPE <Vijay.Balakrishna@Sun.COM>2009-09-02 10:27:13 -0700
committerVijay Balakrishna, SG-RPE <Vijay.Balakrishna@Sun.COM>2009-09-02 10:27:13 -0700
commit604f3914b253f1fce97b83ce72a612afbb2dc4ca (patch)
treecbf72dc07ea6989dfebb5ed32d931066dbdacff2
parentab8b4e5c888370036603c72719799620ea5c6b77 (diff)
downloadillumos-joyent-604f3914b253f1fce97b83ce72a612afbb2dc4ca.tar.gz
6853833 E25K deleteboard results in "memory operation refused"
-rw-r--r--usr/src/uts/common/fs/swapfs/swap_subr.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr/src/uts/common/fs/swapfs/swap_subr.c b/usr/src/uts/common/fs/swapfs/swap_subr.c
index dbbf57a50a..74c4302da9 100644
--- a/usr/src/uts/common/fs/swapfs/swap_subr.c
+++ b/usr/src/uts/common/fs/swapfs/swap_subr.c
@@ -19,12 +19,10 @@
* CDDL HEADER END
*/
/*
- * Copyright 2007 Sun Microsystems, Inc. All rights reserved.
+ * Copyright 2009 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
-#pragma ident "%Z%%M% %I% %E% SMI"
-
#include <sys/types.h>
#include <sys/param.h>
#include <sys/systm.h>
@@ -373,6 +371,8 @@ swap_mem_config_pre_del(
* Tidy-up is done by the call to post_del which
* is always made.
*/
+ cmn_err(CE_NOTE, "Memory operation refused to ensure system "
+ "doesn't deadlock due to excessive consumption by swapfs.");
return (EBUSY);
}
return (0);