diff usr/src/uts/common/io/lvm/mirror/mirror.c @ 2063:a6ebd483c3cf

6258439 metaset truncates fully qualified mediator host name 6293662 metaroot clears md.conf content if /etc/lvm/mddb.cf is empty 6357981 Join of a newly created MN set can cause panic in mirror snarf 6364565 Running TSlvm reveals memory leaks in SVM 6401357 SVM doesnot show metaset after cluster upgrade in x86 6407189 Incorrectly formatted input to ioctl MD_IOC_SPUPDATEWM can cause panic 6429402 call to meta_smf_enable removed in Ledaig merge
author hshaw
date Thu, 25 May 2006 11:24:16 -0700
parents 7bac4a816ebe
children ef90dc4e9399
line wrap: on
line diff
--- a/usr/src/uts/common/io/lvm/mirror/mirror.c	Thu May 25 10:46:18 2006 -0700
+++ b/usr/src/uts/common/io/lvm/mirror/mirror.c	Thu May 25 11:24:16 2006 -0700
@@ -109,7 +109,7 @@
  * Mutex protecting list of non-failfast drivers.
  */
 static kmutex_t	non_ff_drv_mutex;
-static char	**non_ff_drivers = NULL;
+extern char	**non_ff_drivers;
 
 extern major_t	md_major;
 
@@ -5074,8 +5074,8 @@
 			md_create_unit_incore(MD_SID(un), &mirror_md_ops, 0);
 			resync_start_timeout(setno);
 			gotsomething = 1;
-		} else if (retval == -1) {
-			return (-1);
+		} else {
+			return (retval);
 		}
 		/*
 		 * Set flag to indicate that the mirror has not yet