Revert "kobject: Make sure the parent does not get released before its children"
This reverts commit 4ef12f71. Guenter reports: All my arm64be (arm64 big endian) boot tests crash with this patch applied. Reverting it fixes the problem. Crash log and bisect results (from pending-fixes branch) below. And also: arm64 images don't crash but report lots of "poison overwritten" backtraces like the one below. On arm, I see "refcount_t: underflow", also attached. I didn't bisect those, but given the context I would suspect the same culprit. Reported-by: Guenter Roeck <email@example.com> Link: https://firstname.lastname@example.org Cc: Naresh Kamboju <email@example.com> Cc: kernel test robot <firstname.lastname@example.org> Cc: "Rafael J. Wysocki" <email@example.com> Cc: Heikki Krogerus <firstname.lastname@example.org> Cc: Brendan Higgins <email@example.com> Cc: Randy Dunlap <firstname.lastname@example.org> Cc: stable <email@example.com> Signed-off-by: Greg Kroah-Hartman <firstname.lastname@example.org>
Showing with 10 additions and 20 deletions