Date: Thu, 20 Jul 2017 11:37:02 +0000 (UTC) From: Alexander Motin <mav@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org Subject: svn commit: r321291 - stable/10/sys/geom Message-ID: <201707201137.v6KBb20T095285@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: mav Date: Thu Jul 20 11:37:02 2017 New Revision: 321291 URL: https://svnweb.freebsd.org/changeset/base/321291 Log: MFC r320729: Add GEOM::descr attribute for symmetry with GEOM::ident. Modified: stable/10/sys/geom/geom_disk.c Directory Properties: stable/10/ (props changed) Modified: stable/10/sys/geom/geom_disk.c ============================================================================== --- stable/10/sys/geom/geom_disk.c Thu Jul 20 11:36:25 2017 (r321290) +++ stable/10/sys/geom/geom_disk.c Thu Jul 20 11:37:02 2017 (r321291) @@ -502,6 +502,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?201707201137.v6KBb20T095285>