diff options
author | 2007-03-21 17:29:31 +0000 | |
---|---|---|
committer | 2007-03-21 17:29:31 +0000 | |
commit | a5cd29927d8c1f08d7b42a9efbc35b909259e567 (patch) | |
tree | c25751e220089f781990ac7ae09e931dd75c6741 /sys/xfs | |
parent | tweak a sentence; (diff) | |
download | wireguard-openbsd-a5cd29927d8c1f08d7b42a9efbc35b909259e567.tar.xz wireguard-openbsd-a5cd29927d8c1f08d7b42a9efbc35b909259e567.zip |
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/xfs')
-rw-r--r-- | sys/xfs/xfs_vnodeops-bsd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/xfs/xfs_vnodeops-bsd.c b/sys/xfs/xfs_vnodeops-bsd.c index cafe22459ca..90459965856 100644 --- a/sys/xfs/xfs_vnodeops-bsd.c +++ b/sys/xfs/xfs_vnodeops-bsd.c @@ -803,7 +803,7 @@ xfs_lock(struct vop_lock_args * ap) ret = lockmgr(l, flags, &vp->v_interlock, ap->a_p); #endif #else - ret = lockmgr(l, flags, &vp->v_interlock); + ret = lockmgr(l, flags, NULL); #endif #else #ifdef HAVE_FREEBSD_THREAD @@ -857,7 +857,7 @@ xfs_unlock(struct vop_unlock_args * ap) ret = lockmgr (l, flags | LK_RELEASE, &vp->v_interlock, ap->a_p); #endif #else - ret = lockmgr (l, flags | LK_RELEASE, &vp->v_interlock); + ret = lockmgr (l, flags | LK_RELEASE, NULL); #endif #else #ifdef HAVE_FREEBSD_THREAD |