Print this page
re #13613 rb4516 Tunables needs volatile keyword

@@ -20,10 +20,13 @@
  */
 /*
  * Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
  * Use is subject to license terms.
  */
+/*
+ * Copyright 2013 Nexenta Systems, Inc.  All rights reserved.
+ */
 
 #include <sys/systm.h>
 #include <sys/types.h>
 #include <sys/vnode.h>
 #include <sys/errno.h>

@@ -76,11 +79,10 @@
 /*
  * externs
  */
 extern kmutex_t         ml_scan;
 extern kcondvar_t       ml_scan_cv;
-extern int              maxphys;
 
 static void
 trans_roll_wait(mt_map_t *logmap, callb_cpr_t *cprinfop)
 {
         mutex_enter(&logmap->mtm_mutex);