diff options
author | phk <phk@FreeBSD.org> | 2002-10-20 19:18:07 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2002-10-20 19:18:07 +0000 |
commit | 5df21f9258160fffb5804123fe9aaa50bad6be01 (patch) | |
tree | e5862f7e08664b410047651c04c18a85f96a64f8 /sys/geom/bde | |
parent | 6539d532098bbfd2bef664a338eed9447e734f60 (diff) | |
download | FreeBSD-src-5df21f9258160fffb5804123fe9aaa50bad6be01.zip FreeBSD-src-5df21f9258160fffb5804123fe9aaa50bad6be01.tar.gz |
Make the sectorsize a property of providers so we can include it in the XML
output.
Sponsored by: DARPA & NAI Labs
Diffstat (limited to 'sys/geom/bde')
-rw-r--r-- | sys/geom/bde/g_bde.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/geom/bde/g_bde.c b/sys/geom/bde/g_bde.c index 47a3645..614139c 100644 --- a/sys/geom/bde/g_bde.c +++ b/sys/geom/bde/g_bde.c @@ -254,6 +254,7 @@ g_bde_create(struct g_createargs *ga) g_topology_lock(); pp = g_new_providerf(gp, gp->name); pp->mediasize = sc->mediasize; + pp->sectorsize = sc->sectorsize; g_error_provider(pp, 0); g_topology_unlock(); break; |