summaryrefslogtreecommitdiffstats
path: root/sys/kern/vfs_bio.c
diff options
context:
space:
mode:
authorjeff <jeff@FreeBSD.org>2002-07-06 21:27:20 +0000
committerjeff <jeff@FreeBSD.org>2002-07-06 21:27:20 +0000
commitf1b0400267ed5a6ad5d01b82e0b2c2d50adc97e4 (patch)
tree3269255ce864f8358c4680b2a3efb974303955c7 /sys/kern/vfs_bio.c
parent6c50bbc20ba3ad5bf0de5e807aef12e7a0d06633 (diff)
downloadFreeBSD-src-f1b0400267ed5a6ad5d01b82e0b2c2d50adc97e4.zip
FreeBSD-src-f1b0400267ed5a6ad5d01b82e0b2c2d50adc97e4.tar.gz
Fix a mistake in my last commit. Don't grab an extra reference to the object
in bp->b_object.
Diffstat (limited to 'sys/kern/vfs_bio.c')
-rw-r--r--sys/kern/vfs_bio.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/kern/vfs_bio.c b/sys/kern/vfs_bio.c
index 02b13cf..6b284c8 100644
--- a/sys/kern/vfs_bio.c
+++ b/sys/kern/vfs_bio.c
@@ -2425,7 +2425,6 @@ loop:
printf("getblk: vmioing file type %d???\n", vp->v_type);
#endif
VOP_GETVOBJECT(vp, &bp->b_object);
- vm_object_reference(bp->b_object);
} else {
bp->b_flags &= ~B_VMIO;
bp->b_object = NULL;
OpenPOWER on IntegriCloud