diff usr/src/uts/common/io/lvm/mirror/mirror.c @ 2077:ef90dc4e9399

6396946 Misleading typecast on md_remove_minor_node call 6396968 NOTE_FN is not an appropriate name for a macro. It should be MDDB_NOTE_FN. 6397031 metastat can emit two error messages, but only the first is correct
author tw21770
date Tue, 30 May 2006 06:43:56 -0700
parents a6ebd483c3cf
children cac85bf517af
line wrap: on
line diff
--- a/usr/src/uts/common/io/lvm/mirror/mirror.c	Mon May 29 13:01:03 2006 -0700
+++ b/usr/src/uts/common/io/lvm/mirror/mirror.c	Tue May 30 06:43:56 2006 -0700
@@ -1975,7 +1975,7 @@
 	/*
 	 * Attempt release of its minor node
 	 */
-	(void) md_remove_minor_node(mnum);
+	md_remove_minor_node(mnum);
 
 	if (!removing)
 		return;
@@ -5056,7 +5056,7 @@
 			un->c.un_flag |= MD_EFILABEL;
 			break;
 		}
-		NOTE_FN(rbp->rb_revision, un->c.un_revision);
+		MDDB_NOTE_FN(rbp->rb_revision, un->c.un_revision);
 
 		/*
 		 * Create minor device node for snarfed entry.