diff options
author | phk <phk@FreeBSD.org> | 2004-10-29 11:11:44 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2004-10-29 11:11:44 +0000 |
commit | 6358ee90d6bd518ae632aaae71a924f4041051f1 (patch) | |
tree | cc0a283447aff6bbe1291514f13d793c61b84f57 /sys/geom/geom_dev.c | |
parent | 8fa3fd0acf0ad7c1c643735ebdc1e396cf1087ca (diff) | |
download | FreeBSD-src-6358ee90d6bd518ae632aaae71a924f4041051f1.zip FreeBSD-src-6358ee90d6bd518ae632aaae71a924f4041051f1.tar.gz |
Don't set si_bsize_phys, nobody cares.
Diffstat (limited to 'sys/geom/geom_dev.c')
-rw-r--r-- | sys/geom/geom_dev.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/geom/geom_dev.c b/sys/geom/geom_dev.c index e4d5bb0..e4efbc6 100644 --- a/sys/geom/geom_dev.c +++ b/sys/geom/geom_dev.c @@ -197,8 +197,6 @@ g_dev_open(struct cdev *dev, int flags, int fmt, struct thread *td) else error = g_access(cp, r, w, e); g_topology_unlock(); - if (!error) - dev->si_bsize_phys = cp->provider->sectorsize; return(error); } |