Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 7 Feb 2020 17:47:08 +0000 (UTC)
From:      Warner Losh <imp@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r357659 - head/sys/geom
Message-ID:  <202002071747.017Hl8ms057186@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202002071747.017Hl8ms057186>