diff options
author | phk <phk@FreeBSD.org> | 1999-09-18 21:48:39 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 1999-09-18 21:48:39 +0000 |
commit | 4595d412e9a8a35c0d05e9c7e49d6c8d10347cd6 (patch) | |
tree | bc3725dffa28828e6ad6fc8e3135bcaab57d0b51 /sys | |
parent | 45d2461210a69287542aa6a9fadf5a2e5223446c (diff) | |
download | FreeBSD-src-4595d412e9a8a35c0d05e9c7e49d6c8d10347cd6.zip FreeBSD-src-4595d412e9a8a35c0d05e9c7e49d6c8d10347cd6.tar.gz |
Only assign to si_bsize_phys if we have an intelligent value for it.
Otherwise leave at zero and let the generic code decide.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/vn/vn.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/dev/vn/vn.c b/sys/dev/vn/vn.c index 54914b2..f20c661 100644 --- a/sys/dev/vn/vn.c +++ b/sys/dev/vn/vn.c @@ -224,7 +224,6 @@ vnopen(dev_t dev, int flags, int mode, struct proc *p) * used directly if you open the 'whole disk' device. */ dev->si_bsize_phys = vn->sc_secsize; - dev->si_bsize_best = vn->sc_secsize; if (flags & FWRITE && vn->sc_flags & VNF_READONLY) return (EACCES); |