diff --git a/headers/private/kernel/vfs.h b/headers/private/kernel/vfs.h index b4533eb54d..0047cbe02e 100644 --- a/headers/private/kernel/vfs.h +++ b/headers/private/kernel/vfs.h @@ -143,7 +143,7 @@ status_t vfs_create_special_node(const char *path, fs_vnode *subVnode, struct vnode **_createdVnode); /* service call for the node monitor */ -status_t resolve_vnode_to_covering_vnode(dev_t mountID, ino_t nodeID, +status_t vfs_resolve_vnode_to_covering_vnode(dev_t mountID, ino_t nodeID, dev_t *resolvedMountID, ino_t *resolvedNodeID); /* calls the syscall dispatcher should use for user file I/O */ diff --git a/src/system/kernel/fs/node_monitor.cpp b/src/system/kernel/fs/node_monitor.cpp index 08311a8937..07bcb75851 100644 --- a/src/system/kernel/fs/node_monitor.cpp +++ b/src/system/kernel/fs/node_monitor.cpp @@ -687,7 +687,7 @@ NodeMonitorService::NotifyEntryMoved(dev_t device, ino_t fromDirectory, // If node is a mount point, we need to resolve it to the mounted // volume's root node. dev_t nodeDevice = device; - resolve_vnode_to_covering_vnode(device, node, &nodeDevice, &node); + vfs_resolve_vnode_to_covering_vnode(device, node, &nodeDevice, &node); RecursiveLocker locker(fRecursiveLock); diff --git a/src/system/kernel/fs/vfs.cpp b/src/system/kernel/fs/vfs.cpp index 1827254c2b..a5631924f0 100644 --- a/src/system/kernel/fs/vfs.cpp +++ b/src/system/kernel/fs/vfs.cpp @@ -1958,7 +1958,7 @@ get_root_vnode(bool kernel) - another error code, if something went wrong. */ status_t -resolve_vnode_to_covering_vnode(dev_t mountID, ino_t nodeID, +vfs_resolve_vnode_to_covering_vnode(dev_t mountID, ino_t nodeID, dev_t* resolvedMountID, ino_t* resolvedNodeID) { // get the node