mirror of
https://github.com/schoebel/mars
synced 2024-12-27 00:52:21 +00:00
infra: fix dent list unlinking
This commit is contained in:
parent
f7223f8c22
commit
a539fd3b48
@ -1635,7 +1635,9 @@ restart:
|
||||
bind_to_dent(dent, &say_channel);
|
||||
|
||||
MARS_DBG("killing dent '%s'\n", dent->d_path);
|
||||
list_del_init(tmp);
|
||||
list_del_init(&dent->dent_link);
|
||||
list_del_init(&dent->dent_hash_link);
|
||||
list_del_init(&dent->dent_quick_link);
|
||||
mars_free_dent(NULL, dent);
|
||||
}
|
||||
up_write(&global->dent_mutex);
|
||||
|
Loading…
Reference in New Issue
Block a user