From c17290fc075ff32c795844fc8fb5b0deaddb6a20 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 ef7fca2ae18..adb4467060c 100644 --- a/sys/fs/tmpfs/tmpfs_subr.c +++ b/sys/fs/tmpfs/tmpfs_subr.c @@ -974,7 +974,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;