Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Jul 2017 08:36:14 +0000 (UTC)
From:      Alexander Motin <mav@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r320729 - head/sys/geom
Message-ID:  <201707060836.v668aEC0092471@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mav
Date: Thu Jul  6 08:36:14 2017
New Revision: 320729
URL: https://svnweb.freebsd.org/changeset/base/320729

Log:
  Add GEOM::descr attribute for symmetry with GEOM::ident.
  
  MFC after:	2 weeks

Modified:
  head/sys/geom/geom_disk.c

Modified: head/sys/geom/geom_disk.c
==============================================================================
--- head/sys/geom/geom_disk.c	Thu Jul  6 08:05:57 2017	(r320728)
+++ head/sys/geom/geom_disk.c	Thu Jul  6 08:36:14 2017	(r320729)
@@ -501,6 +501,8 @@ g_disk_start(struct bio *bp)
 			break;
 		else if (g_handleattr_str(bp, "GEOM::ident", dp->d_ident))
 			break;
+		else if (g_handleattr_str(bp, "GEOM::descr", dp->d_descr))
+			break;
 		else if (g_handleattr_uint16_t(bp, "GEOM::hba_vendor",
 		    dp->d_hba_vendor))
 			break;



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