From 8a02142c3edbbad562ef632f75ad825d2645401a Mon Sep 17 00:00:00 2001 From: Franco Fichtner Date: Wed, 11 Mar 2015 09:46:27 +0100 Subject: [PATCH] tmpfs: allow recurse as that does happen when using unionfs --- sys/fs/tmpfs/tmpfs_subr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/fs/tmpfs/tmpfs_subr.c b/sys/fs/tmpfs/tmpfs_subr.c index de2c342e41c..50366780830 100644 --- a/sys/fs/tmpfs/tmpfs_subr.c +++ b/sys/fs/tmpfs/tmpfs_subr.c @@ -979,7 +979,7 @@ loop: } vs = vget_prep(vp); TMPFS_NODE_UNLOCK(node); - error = vget_finish(vp, lkflag, vs); + error = vget_finish(vp, lkflag | LK_CANRECURSE, vs); if (error == ENOENT) { TMPFS_NODE_LOCK(node); goto loop;