svn commit: r357659 - head/sys/geom

Warner Losh imp at FreeBSD.org
Fri Feb 7 17:47:08 UTC 2020


Author: imp
Date: Fri Feb  7 17:47:08 2020
New Revision: 357659
URL: https://svnweb.freebsd.org/changeset/base/357659

Log:
  Supress not supported message
  
  For the moment, supress the operation not supported messages at this level.  In
  the fullness of time, we will have better error tracking so we can diagnose
  issues in the future.
  
  Reviewed by: scottl@

Modified:
  head/sys/geom/geom_vfs.c

Modified: head/sys/geom/geom_vfs.c
==============================================================================
--- head/sys/geom/geom_vfs.c	Fri Feb  7 16:22:02 2020	(r357658)
+++ head/sys/geom/geom_vfs.c	Fri Feb  7 17:47:08 2020	(r357659)
@@ -139,7 +139,7 @@ g_vfs_done(struct bio *bip)
 
 	cp = bip->bio_from;
 	sc = cp->geom->softc;
-	if (bip->bio_error)
+	if (bip->bio_error && bip->bio_error != EOPNOTSUPP)
 		g_print_bio("g_vfs_done():", bip, "error = %d",
 		    bip->bio_error);
 	bp->b_error = bip->bio_error;


More information about the svn-src-head mailing list