diff options
author | julian <julian@FreeBSD.org> | 1999-09-09 19:08:44 +0000 |
---|---|---|
committer | julian <julian@FreeBSD.org> | 1999-09-09 19:08:44 +0000 |
commit | 5c78e7345a2fd91174249db5a41aec14e57f1fb3 (patch) | |
tree | e7d99a6be8ccf0086169fae4fdd8377ccf9252be /sys/dev/vn | |
parent | d475da44561ed80c7ceb7e75432d70a726c7e751 (diff) | |
download | FreeBSD-src-5c78e7345a2fd91174249db5a41aec14e57f1fb3.zip FreeBSD-src-5c78e7345a2fd91174249db5a41aec14e57f1fb3.tar.gz |
Changes to centralise the default blocksize behaviour.
More likely to follow.
Submitted by: phk@freebsd.org
Diffstat (limited to 'sys/dev/vn')
-rw-r--r-- | sys/dev/vn/vn.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/sys/dev/vn/vn.c b/sys/dev/vn/vn.c index f51efca..199c804 100644 --- a/sys/dev/vn/vn.c +++ b/sys/dev/vn/vn.c @@ -510,10 +510,7 @@ vniocattach_file(vn, vio, dev, flag, p) (void) vn_close(nd.ni_vp, flags, p->p_ucred, p); return(error); } - if (dev->si_bsize_phys < vn->sc_secsize) - dev->si_bsize_phys = vn->sc_secsize; - if (dev->si_bsize_best < vn->sc_secsize) - dev->si_bsize_best = vn->sc_secsize; + dev->si_bsize_phys = vn->sc_secsize; vn->sc_flags |= VNF_INITED; if (flags == FREAD) vn->sc_flags |= VNF_READONLY; |