Source-Changes-HG archive

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

[src/trunk]: src/external/cddl/osnet/dist/uts/common/fs/zfs VOP_LOCK() will n...



details:   https://anonhg.NetBSD.org/src/rev/aca3749c65f8
branches:  trunk
changeset: 756582:aca3749c65f8
user:      hannken <hannken%NetBSD.org@localhost>
date:      Sun Jul 25 10:31:45 2010 +0000

description:
VOP_LOCK() will not be called with LK_INTERLOCK.

diffstat:

 external/cddl/osnet/dist/uts/common/fs/zfs/zfs_vnops.c |  6 ------
 1 files changed, 0 insertions(+), 6 deletions(-)

diffs (16 lines):

diff -r 0633002896d4 -r aca3749c65f8 external/cddl/osnet/dist/uts/common/fs/zfs/zfs_vnops.c
--- a/external/cddl/osnet/dist/uts/common/fs/zfs/zfs_vnops.c    Sun Jul 25 10:23:40 2010 +0000
+++ b/external/cddl/osnet/dist/uts/common/fs/zfs/zfs_vnops.c    Sun Jul 25 10:31:45 2010 +0000
@@ -5424,12 +5424,6 @@
 int
 zfs_netbsd_lock(struct vop_lock_args *ap)
 {
-       struct vnode *vp = ap->a_vp;
-       int flags = ap->a_flags;
-       
-       if ((flags & LK_INTERLOCK) != 0) {
-               mutex_exit(&vp->v_interlock);
-       }
 
        return 0;
 }



Home | Main Index | Thread Index | Old Index