svn commit: r222835 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

Martin Matuska mm at FreeBSD.org
Tue Jun 7 20:46:31 UTC 2011


Author: mm
Date: Tue Jun  7 20:46:31 2011
New Revision: 222835
URL: http://svn.freebsd.org/changeset/base/222835

Log:
  Silence notice on pool creation, import and access.
  
  Suggested by:	Jeremy Chadwick (freebsd-stable@)
  Discussed with:	pjd
  MFC after:	1 week

Modified:
  head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/spa_history.c

Modified: head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/spa_history.c
==============================================================================
--- head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/spa_history.c	Tue Jun  7 20:46:03 2011	(r222834)
+++ head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/spa_history.c	Tue Jun  7 20:46:31 2011	(r222835)
@@ -500,9 +500,11 @@ spa_history_log_version(spa_t *spa, hist
 		    utsname.nodename, utsname.release, utsname.version,
 		    utsname.machine);
 	}
+#if 0
 	cmn_err(CE_CONT, "!%s version %llu pool %s using %llu",
 	    event == LOG_POOL_IMPORT ? "imported" :
 	    event == LOG_POOL_CREATE ? "created" : "accessed",
 	    (u_longlong_t)current_vers, spa_name(spa), SPA_VERSION);
 #endif
+#endif
 }


More information about the svn-src-head mailing list