summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/geom/geom_dev.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/geom/geom_dev.c b/sys/geom/geom_dev.c
index c258b86..3efe046 100644
--- a/sys/geom/geom_dev.c
+++ b/sys/geom/geom_dev.c
@@ -208,6 +208,7 @@ g_dev_open(dev_t dev, int flags, int fmt, struct thread *td)
g_topology_unlock();
PICKUP_GIANT();
g_waitidle();
+ dev->si_bsize_phys = cp->provider->sectorsize;
return(error);
}
OpenPOWER on IntegriCloud