svn commit: r320729 - head/sys/geom
Alexander Motin
mav at FreeBSD.org
Thu Jul 6 08:36:16 UTC 2017
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;
More information about the svn-src-all
mailing list