diff options
author | Thordur I. Bjornsson <thib@cvs.openbsd.org> | 2007-03-21 17:29:33 +0000 |
---|---|---|
committer | Thordur I. Bjornsson <thib@cvs.openbsd.org> | 2007-03-21 17:29:33 +0000 |
commit | d7075ee61fe295572ec5280319c9bf06d8efc05c (patch) | |
tree | 7aa4feffdaa8971ae78c3297e75ec6ce90e3d16e /sys/adosfs/advnops.c | |
parent | 9843bf83bf9e4de70eb9c525d77debf82b8e052d (diff) |
Remove the v_interlock simplelock from the vnode structure.
Zap all calls to simple_lock/unlock() on it (those calls are
#defined away though). Remove the LK_INTERLOCK from the calls
to vn_lock() and cleanup the filesystems wich implement VOP_LOCK().
(by remvoing the v_interlock from there calls to lockmgr()).
ok pedro@, art@, tedu@
Diffstat (limited to 'sys/adosfs/advnops.c')
-rw-r--r-- | sys/adosfs/advnops.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/sys/adosfs/advnops.c b/sys/adosfs/advnops.c index 897e931cc61..a679704ca2f 100644 --- a/sys/adosfs/advnops.c +++ b/sys/adosfs/advnops.c @@ -1,4 +1,4 @@ -/* $OpenBSD: advnops.c,v 1.33 2007/01/16 17:52:18 thib Exp $ */ +/* $OpenBSD: advnops.c,v 1.34 2007/03/21 17:29:31 thib Exp $ */ /* $NetBSD: advnops.c,v 1.32 1996/10/13 02:52:09 christos Exp $ */ /* @@ -499,7 +499,7 @@ adosfs_lock(v) advopprint(ap); #endif - rv = lockmgr(&VTOA(vp)->a_lock, ap->a_flags, &vp->v_interlock); + rv = lockmgr(&VTOA(vp)->a_lock, ap->a_flags, NULL); #ifdef ADOSFS_DIAGNOSTIC printf(" %d)", rv); @@ -524,8 +524,7 @@ adosfs_unlock(v) advopprint(ap); #endif - rv = lockmgr(&VTOA(vp)->a_lock, ap->a_flags | LK_RELEASE, - &vp->v_interlock); + rv = lockmgr(&VTOA(vp)->a_lock, ap->a_flags | LK_RELEASE, NULL); #ifdef ADOSFS_DIAGNOSTIC printf(" %d)", rv); |