Module Name: src Committed By: skrll Date: Fri Jan 20 09:45:13 UTC 2017
Modified Files: src/sys/kern: vfs_bio.c Log Message: Fix build To generate a diff of this commit: cvs rdiff -u -r1.268 -r1.269 src/sys/kern/vfs_bio.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/kern/vfs_bio.c diff -u src/sys/kern/vfs_bio.c:1.268 src/sys/kern/vfs_bio.c:1.269 --- src/sys/kern/vfs_bio.c:1.268 Fri Jan 20 08:16:31 2017 +++ src/sys/kern/vfs_bio.c Fri Jan 20 09:45:13 2017 @@ -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 @@ getiobuf(struct vnode *vp, bool waitok) if ((bp->b_vp = vp) != NULL) { bp->b_objlock = vp->v_interlock; - else + } else { KASSERT(bp->b_objlock == &buffer_lock); + } return bp; }