diff options
author | jeff <jeff@FreeBSD.org> | 2005-04-22 22:42:44 +0000 |
---|---|---|
committer | jeff <jeff@FreeBSD.org> | 2005-04-22 22:42:44 +0000 |
commit | cb40cf9c098230b2263f6c16f1c55006e5c87018 (patch) | |
tree | 933da8145b8461cf0353053d8864a1c385db0a8d /sys/fs | |
parent | 80fc3153fbf364d80c7fddf3dda1fea239fe555d (diff) | |
download | FreeBSD-src-cb40cf9c098230b2263f6c16f1c55006e5c87018.zip FreeBSD-src-cb40cf9c098230b2263f6c16f1c55006e5c87018.tar.gz |
- As this is presently the one and only place where duplicate acquires of
the vnode interlock are allowed mark it by passing MTX_DUPOK to this
lock operation only.
Sponsored by: Isilon Systems, Inc.
Diffstat (limited to 'sys/fs')
-rw-r--r-- | sys/fs/nullfs/null_vnops.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/fs/nullfs/null_vnops.c b/sys/fs/nullfs/null_vnops.c index fe4b740..e7f9f76 100644 --- a/sys/fs/nullfs/null_vnops.c +++ b/sys/fs/nullfs/null_vnops.c @@ -530,7 +530,7 @@ null_lock(struct vop_lock_args *ap) * vop lock. */ if (nn != NULL && (lvp = NULLVPTOLOWERVP(vp)) != NULL) { - VI_LOCK(lvp); + VI_LOCK_FLAGS(lvp, MTX_DUPOK); VI_UNLOCK(vp); /* * We have to hold the vnode here to solve a potential |