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 8dcdc32e49
commit 8a02142c3e

View file

@ -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;