fixing rbtree patch
name cache parent entry was never initialized. thus causing entries never to be removed from the name cache.
This commit is contained in:
parent
0a309c4350
commit
c596742659
1 changed files with 1 additions and 0 deletions
|
|
@ -605,6 +605,7 @@ static int name_cache_insert(
|
||||||
|
|
||||||
if (RB_INSERT(name_tree, &parent->rbchildren, entry))
|
if (RB_INSERT(name_tree, &parent->rbchildren, entry))
|
||||||
status = ERROR_FILE_EXISTS;
|
status = ERROR_FILE_EXISTS;
|
||||||
|
entry->parent = parent;
|
||||||
|
|
||||||
dprintf(NCLVL2, "<-- name_cache_insert() returning %u\n", status);
|
dprintf(NCLVL2, "<-- name_cache_insert() returning %u\n", status);
|
||||||
return status;
|
return status;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue