Source-Changes-HG archive

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

[src/trunk]: src/sys/rump/librump/rumpvfs p2k asserts get upset if VOP_ISLOCK...



details:   https://anonhg.NetBSD.org/src/rev/cdc4d0211e4d
branches:  trunk
changeset: 754409:cdc4d0211e4d
user:      pooka <pooka%NetBSD.org@localhost>
date:      Thu Apr 29 22:45:40 2010 +0000

description:
p2k asserts get upset if VOP_ISLOCKED() doesn't reflect lock status.
So let genfs do its thing.

diffstat:

 sys/rump/librump/rumpvfs/rumpfs.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r 386ef49dadbc -r cdc4d0211e4d sys/rump/librump/rumpvfs/rumpfs.c
--- a/sys/rump/librump/rumpvfs/rumpfs.c Thu Apr 29 22:42:48 2010 +0000
+++ b/sys/rump/librump/rumpvfs/rumpfs.c Thu Apr 29 22:45:40 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: rumpfs.c,v 1.43 2010/04/29 22:32:49 pooka Exp $        */
+/*     $NetBSD: rumpfs.c,v 1.44 2010/04/29 22:45:40 pooka Exp $        */
 
 /*
  * Copyright (c) 2009  Antti Kantee.  All Rights Reserved.
@@ -26,7 +26,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rumpfs.c,v 1.43 2010/04/29 22:32:49 pooka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rumpfs.c,v 1.44 2010/04/29 22:45:40 pooka Exp $");
 
 #include <sys/param.h>
 #include <sys/atomic.h>
@@ -94,6 +94,7 @@
        { &vop_fsync_desc, rump_vop_success },
        { &vop_lock_desc, genfs_lock },
        { &vop_unlock_desc, genfs_unlock },
+       { &vop_islocked_desc, genfs_islocked },
        { &vop_inactive_desc, rump_vop_inactive },
        { &vop_reclaim_desc, rump_vop_reclaim },
        { NULL, NULL }



Home | Main Index | Thread Index | Old Index