diff options
author | Poul-Henning Kamp <phk@FreeBSD.org> | 1999-09-18 21:48:39 +0000 |
---|---|---|
committer | Poul-Henning Kamp <phk@FreeBSD.org> | 1999-09-18 21:48:39 +0000 |
commit | 712f8471fb6260c9abae712731115bd9d5c2b107 (patch) | |
tree | bf31338fb5cb6471302be10b0d0f1be178e4d9e4 /sys/dev/vn/vn.c | |
parent | bd9e52dcc4d7153969d75c22b29bd78b33258211 (diff) | |
download | src-712f8471fb6260c9abae712731115bd9d5c2b107.tar.gz src-712f8471fb6260c9abae712731115bd9d5c2b107.zip |
Only assign to si_bsize_phys if we have an intelligent value for it.
Otherwise leave at zero and let the generic code decide.
Notes
Notes:
svn path=/head/; revision=51378
Diffstat (limited to 'sys/dev/vn/vn.c')
-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 54914b24f795..f20c6616234d 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); |