* Fixed an endless loop when using vfs_get_vnode_name() or the "wrong"
get_vnode_name() variant. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25750 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
7ee180f34d
commit
032f1e5f90
@ -2256,7 +2256,7 @@ get_vnode_name(struct vnode *vnode, struct vnode *parent, char *name,
|
||||
char buffer[sizeof(struct dirent) + B_FILE_NAME_LENGTH];
|
||||
struct dirent *dirent = (struct dirent *)buffer;
|
||||
|
||||
status_t status = get_vnode_name(vnode, parent, buffer, sizeof(buffer),
|
||||
status_t status = get_vnode_name(vnode, parent, dirent, sizeof(buffer),
|
||||
get_current_io_context(kernel));
|
||||
if (status != B_OK)
|
||||
return status;
|
||||
|
Loading…
Reference in New Issue
Block a user