summaryrefslogtreecommitdiffstats
path: root/sys/kern/vfs_bio.c
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2004-10-25 07:50:59 +0000
committerphk <phk@FreeBSD.org>2004-10-25 07:50:59 +0000
commit3a8a530155f4b380ed48fd29c1dd0b435ff9f272 (patch)
tree993325a5a2c4c2107453460692617ebf9da6434c /sys/kern/vfs_bio.c
parent5065a91152dd8199aa724a1a5453c76271d955a6 (diff)
downloadFreeBSD-src-3a8a530155f4b380ed48fd29c1dd0b435ff9f272.zip
FreeBSD-src-3a8a530155f4b380ed48fd29c1dd0b435ff9f272.tar.gz
Remove vnode->v_bsize. This was a dead-end.
Diffstat (limited to 'sys/kern/vfs_bio.c')
-rw-r--r--sys/kern/vfs_bio.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/sys/kern/vfs_bio.c b/sys/kern/vfs_bio.c
index 453ea5c..1885b1b 100644
--- a/sys/kern/vfs_bio.c
+++ b/sys/kern/vfs_bio.c
@@ -2569,13 +2569,6 @@ loop:
else
bsize = size;
- if (vp->v_bsize != bsize) {
-#if 0
- printf("WARNING: Wrong block size on vnode: %d should be %d\n", vp->v_bsize, bsize);
-#endif
- vp->v_bsize = bsize;
- }
-
offset = blkno * bsize;
vmio = (VOP_GETVOBJECT(vp, NULL) == 0) &&
(vp->v_vflag & VV_OBJBUF);
OpenPOWER on IntegriCloud