vfs_create_special_node() always tried to create the node in "/".
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25139 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
0e42d1bcd8
commit
0951fcb4a3
@ -3816,7 +3816,7 @@ vfs_create_special_node(const char *path, fs_vnode *subVnode, mode_t mode,
|
||||
// create the node
|
||||
fs_vnode superVnode;
|
||||
ino_t nodeID;
|
||||
status_t status = FS_CALL(sRoot, create_special_node, leaf, subVnode,
|
||||
status_t status = FS_CALL(dirNode, create_special_node, leaf, subVnode,
|
||||
mode, flags, _superVnode != NULL ? _superVnode : &superVnode, &nodeID);
|
||||
if (status != B_OK)
|
||||
return status;
|
||||
|
Loading…
Reference in New Issue
Block a user