tmpfs: allow recurse as that does happen when using unionfs

This commit is contained in:
Franco Fichtner 2015-03-11 09:46:27 +01:00
parent f344f6c0be
commit 1b30333825

View file

@ -543,7 +543,8 @@ loop:
goto loop;
}
TMPFS_NODE_UNLOCK(node);
error = vget(vp, lkflag | LK_INTERLOCK, curthread);
error = vget(vp, lkflag | LK_INTERLOCK | LK_CANRECURSE,
curthread);
if (error == ENOENT) {
TMPFS_NODE_LOCK(node);
goto loop;