Handle the overlay request flag in publish_vnode() as well.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29196 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Michael Lotz 2009-02-14 12:48:44 +00:00
parent 58bda9983c
commit 6e5f12279d

View File

@ -3539,7 +3539,8 @@ publish_vnode(fs_volume *volume, ino_t vnodeID, void *privateNode,
if (status == B_OK) {
vnode->type = type;
vnode->remove = (flags & B_VNODE_PUBLISH_REMOVED) != 0;
publishSpecialSubNode = is_special_node_type(type)
publishSpecialSubNode = (is_special_node_type(type)
|| (flags & B_VNODE_WANTS_OVERLAY_SUB_NODE) != 0)
&& (flags & B_VNODE_DONT_CREATE_SPECIAL_SUB_NODE) == 0;
}