Date: Wed, 31 Jul 2019 17:51:07 +0000 (UTC) From: Mariusz Zaborski <oshogbo@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r350472 - head/sys/geom/nop Message-ID: <201907311751.x6VHp71X099474@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: oshogbo Date: Wed Jul 31 17:51:06 2019 New Revision: 350472 URL: https://svnweb.freebsd.org/changeset/base/350472 Log: gnop: style nits Modified: head/sys/geom/nop/g_nop.c Modified: head/sys/geom/nop/g_nop.c ============================================================================== --- head/sys/geom/nop/g_nop.c Wed Jul 31 17:47:12 2019 (r350471) +++ head/sys/geom/nop/g_nop.c Wed Jul 31 17:51:06 2019 (r350472) @@ -116,6 +116,7 @@ static int g_nop_dumper(void *priv, void *virtual, vm_offset_t physical, off_t offset, size_t length) { + return (0); } @@ -213,7 +214,7 @@ g_nop_start(struct bio *bp) break; case BIO_GETATTR: sc->sc_getattrs++; - if (sc->sc_physpath && + if (sc->sc_physpath && g_handleattr_str(bp, "GEOM::physpath", sc->sc_physpath)) ; else if (strcmp(bp->bio_attribute, "GEOM::kerneldump") == 0)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201907311751.x6VHp71X099474>