Source-Changes-HG archive

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

[src/trunk]: src/sys/kern Back out part of previous: missed a caller of wapbl...



details:   https://anonhg.NetBSD.org/src/rev/b337a79332d1
branches:  trunk
changeset: 822369:b337a79332d1
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Fri Mar 17 03:19:46 2017 +0000

description:
Back out part of previous: missed a caller of wapbl_write_inodes.

diffstat:

 sys/kern/vfs_wapbl.c |  6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diffs (27 lines):

diff -r f2fbb2f0517f -r b337a79332d1 sys/kern/vfs_wapbl.c
--- a/sys/kern/vfs_wapbl.c      Fri Mar 17 03:17:07 2017 +0000
+++ b/sys/kern/vfs_wapbl.c      Fri Mar 17 03:19:46 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: vfs_wapbl.c,v 1.91 2017/03/17 03:17:07 riastradh Exp $ */
+/*     $NetBSD: vfs_wapbl.c,v 1.92 2017/03/17 03:19:46 riastradh Exp $ */
 
 /*-
  * Copyright (c) 2003, 2008, 2009 The NetBSD Foundation, Inc.
@@ -36,7 +36,7 @@
 #define WAPBL_INTERNAL
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: vfs_wapbl.c,v 1.91 2017/03/17 03:17:07 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: vfs_wapbl.c,v 1.92 2017/03/17 03:19:46 riastradh Exp $");
 
 #include <sys/param.h>
 #include <sys/bitops.h>
@@ -2494,8 +2494,6 @@
        struct wapbl_ino *wi;
        int iph;
 
-       KASSERT(rw_write_held(&wl->wl_rwlock));
-
        iph = (blocklen - offsetof(struct wapbl_wc_inodelist, wc_inodes)) /
            sizeof(((struct wapbl_wc_inodelist *)0)->wc_inodes[0]);
 



Home | Main Index | Thread Index | Old Index