mirror of
https://github.com/schoebel/mars
synced 2025-03-11 07:47:41 +00:00
infra: safeguard interim removal
This commit is contained in:
parent
c4b79885d1
commit
29060936ed
@ -1661,6 +1661,10 @@ void _op_remove(struct say_channel **say_channel,
|
||||
struct mars_dent *dent = container_of(tmp, struct mars_dent, dent_link);
|
||||
if (!dent->d_killme)
|
||||
continue;
|
||||
if (dent->d_child_count)
|
||||
continue;
|
||||
if (!list_empty(&dent->brick_list))
|
||||
continue;
|
||||
|
||||
bind_to_dent(dent, say_channel);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user