Add GEOM::descr attribute for symmetry with GEOM::ident.

MFC after:	2 weeks
This commit is contained in:
Alexander Motin 2017-07-06 08:36:14 +00:00
parent 13464e4a44
commit 1631690677

View File

@ -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;