summaryrefslogtreecommitdiffstats
path: root/sys/kern
diff options
context:
space:
mode:
authoreivind <eivind@FreeBSD.org>1998-12-07 17:23:45 +0000
committereivind <eivind@FreeBSD.org>1998-12-07 17:23:45 +0000
commit2d81fe5347cbaf7f7830a3eee6ab940b613faa8f (patch)
tree33bf16327c182c79d9cbbb73f4c80a60393d0abe /sys/kern
parent89e665c74929cc88bba02ef2d7aed6605ed47c45 (diff)
downloadFreeBSD-src-2d81fe5347cbaf7f7830a3eee6ab940b613faa8f.zip
FreeBSD-src-2d81fe5347cbaf7f7830a3eee6ab940b613faa8f.tar.gz
Fix grouping of statements. This remove a potential panic in the soft
updates code. While I'm here, remove an unintended trigraph. Reviewed by: Kirk McKusick <kirk@freebsd.org>
Diffstat (limited to 'sys/kern')
-rw-r--r--sys/kern/vfs_bio.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/kern/vfs_bio.c b/sys/kern/vfs_bio.c
index 5704558..8310305 100644
--- a/sys/kern/vfs_bio.c
+++ b/sys/kern/vfs_bio.c
@@ -11,7 +11,7 @@
* 2. Absolutely no warranty of function or purpose is made by the author
* John S. Dyson.
*
- * $Id: vfs_bio.c,v 1.184 1998/10/31 15:31:22 peter Exp $
+ * $Id: vfs_bio.c,v 1.185 1998/11/18 09:00:47 dg Exp $
*/
/*
@@ -497,9 +497,9 @@ bdwrite(struct buf * bp)
* requested by the soft dependency code.
*/
if ((vp = bp->b_vp) &&
- (vp->v_type == VBLK && vp->v_specmountpoint &&
- (vp->v_specmountpoint->mnt_flag & MNT_SOFTDEP)) ||
- (vp->v_mount && (vp->v_mount->mnt_flag & MNT_SOFTDEP)))
+ ((vp->v_type == VBLK && vp->v_specmountpoint &&
+ (vp->v_specmountpoint->mnt_flag & MNT_SOFTDEP)) ||
+ (vp->v_mount && (vp->v_mount->mnt_flag & MNT_SOFTDEP))))
return;
if (numdirtybuffers >= hidirtybuffers)
@@ -1739,7 +1739,7 @@ allocbuf(struct buf * bp, int size)
m = bp->b_pages[pageindex];
#ifdef VFS_BIO_DIAG
if (m->pindex != objoff)
- panic("allocbuf: page changed offset??!!!?");
+ panic("allocbuf: page changed offset?!!!?");
#endif
bytesinpage = tinc;
if (tinc > (newbsize - toff))
OpenPOWER on IntegriCloud