Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/kern Fix build



details:   https://anonhg.NetBSD.org/src/rev/cac70825b3d6
branches:  trunk
changeset: 821016:cac70825b3d6
user:      skrll <skrll%NetBSD.org@localhost>
date:      Fri Jan 20 09:45:13 2017 +0000

description:
Fix build

diffstat:

 sys/kern/vfs_bio.c |  7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diffs (29 lines):

diff -r e626ef1fbca1 -r cac70825b3d6 sys/kern/vfs_bio.c
--- a/sys/kern/vfs_bio.c        Fri Jan 20 08:48:14 2017 +0000
+++ b/sys/kern/vfs_bio.c        Fri Jan 20 09:45:13 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: vfs_bio.c,v 1.268 2017/01/20 08:16:31 skrll Exp $      */
+/*     $NetBSD: vfs_bio.c,v 1.269 2017/01/20 09:45:13 skrll Exp $      */
 
 /*-
  * Copyright (c) 2007, 2008, 2009 The NetBSD Foundation, Inc.
@@ -123,7 +123,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: vfs_bio.c,v 1.268 2017/01/20 08:16:31 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: vfs_bio.c,v 1.269 2017/01/20 09:45:13 skrll Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_bufcache.h"
@@ -1970,8 +1970,9 @@
 
        if ((bp->b_vp = vp) != NULL) {
                bp->b_objlock = vp->v_interlock;
-       else
+       } else {
                KASSERT(bp->b_objlock == &buffer_lock);
+       }
        
        return bp;
 }



Home | Main Index | Thread Index | Old Index