summaryrefslogtreecommitdiff
path: root/sys/fs/unionfs/union_subr.c
diff options
context:
space:
mode:
authorMatthew Dillon <dillon@FreeBSD.org>2001-12-20 22:42:27 +0000
committerMatthew Dillon <dillon@FreeBSD.org>2001-12-20 22:42:27 +0000
commit23b590188f01efac1fb8e70da3263498c9c07801 (patch)
tree74464ed2703c6925992ebe509294859864e96118 /sys/fs/unionfs/union_subr.c
parente45e83304a2401388f080b1ca34baef226da4909 (diff)
Notes
Diffstat (limited to 'sys/fs/unionfs/union_subr.c')
-rw-r--r--sys/fs/unionfs/union_subr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/fs/unionfs/union_subr.c b/sys/fs/unionfs/union_subr.c
index 5919672b9c65..8320f4a99fa4 100644
--- a/sys/fs/unionfs/union_subr.c
+++ b/sys/fs/unionfs/union_subr.c
@@ -572,7 +572,7 @@ loop:
un = VTOUNION(*vpp);
bzero(un, sizeof(*un));
- lockinit(&un->un_lock, PVFS, "unlock", 0, 0);
+ lockinit(&un->un_lock, PVFS, "unlock", VLKTIMEOUT, 0);
vn_lock(*vpp, LK_EXCLUSIVE | LK_RETRY, td);
un->un_vnode = *vpp;