diff options
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/exit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/exit.c b/kernel/exit.c index 533e5f85669a..213f906f5e16 100644 --- a/kernel/exit.c +++ b/kernel/exit.c | |||
@@ -590,7 +590,7 @@ retry: | |||
590 | /* | 590 | /* |
591 | * Search in the siblings | 591 | * Search in the siblings |
592 | */ | 592 | */ |
593 | list_for_each_entry(c, &p->parent->children, sibling) { | 593 | list_for_each_entry(c, &p->real_parent->children, sibling) { |
594 | if (c->mm == mm) | 594 | if (c->mm == mm) |
595 | goto assign_new_owner; | 595 | goto assign_new_owner; |
596 | } | 596 | } |