summaryrefslogtreecommitdiff
path: root/usr/src
diff options
context:
space:
mode:
authorjkennedy <none@none>2008-06-06 11:40:14 -0700
committerjkennedy <none@none>2008-06-06 11:40:14 -0700
commit455903679f53d12d92035adc60bc7c3d95e6b6a2 (patch)
treec16140e4412d094f005713daeab4c029b8099be5 /usr/src
parent00d5483b292cefde503e9a738133518eb830d3b8 (diff)
downloadillumos-joyent-455903679f53d12d92035adc60bc7c3d95e6b6a2.tar.gz
6242125 memory corruption due to SVM resync records using wrong records
Diffstat (limited to 'usr/src')
-rw-r--r--usr/src/uts/common/io/lvm/md/md_names.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/usr/src/uts/common/io/lvm/md/md_names.c b/usr/src/uts/common/io/lvm/md/md_names.c
index 7e97f94404..a401191fc6 100644
--- a/usr/src/uts/common/io/lvm/md/md_names.c
+++ b/usr/src/uts/common/io/lvm/md/md_names.c
@@ -19,7 +19,7 @@
* CDDL HEADER END
*/
/*
- * Copyright 2007 Sun Microsystems, Inc. All rights reserved.
+ * Copyright 2008 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
@@ -2835,8 +2835,6 @@ md_getdevnum(
& MDDB_DEVID_STYLE) {
(void) md_load_namespace(setno, NULL, NM_DEVID);
devid_nm = 1;
- } else {
- (void) md_unload_namespace(setno, NM_DEVID);
}
/*