summaryrefslogtreecommitdiffstats
path: root/sys/fs/tmpfs/tmpfs_vnops.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/fs/tmpfs/tmpfs_vnops.c')
-rw-r--r--sys/fs/tmpfs/tmpfs_vnops.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/fs/tmpfs/tmpfs_vnops.c b/sys/fs/tmpfs/tmpfs_vnops.c
index 1cc7e72..a0b4b84 100644
--- a/sys/fs/tmpfs/tmpfs_vnops.c
+++ b/sys/fs/tmpfs/tmpfs_vnops.c
@@ -99,7 +99,7 @@ tmpfs_lookup(struct vop_cachedlookup_args *v)
ltype = VOP_ISLOCKED(dvp, td);
vhold(dvp);
- VOP_UNLOCK(dvp, 0, td);
+ VOP_UNLOCK(dvp, 0);
/* Allocate a new vnode on the matching entry. */
error = tmpfs_alloc_vp(dvp->v_mount, dnode->tn_dir.tn_parent,
cnp->cn_lkflags, vpp, td);
@@ -1056,7 +1056,7 @@ tmpfs_rename(struct vop_rename_args *v)
out_locked:
if (fdnode != tdnode)
- VOP_UNLOCK(fdvp, 0, tcnp->cn_thread);
+ VOP_UNLOCK(fdvp, 0);
out:
/* Release target nodes. */
OpenPOWER on IntegriCloud