]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/commitdiff
[PATCH] add rm-BUG-on-exit.patch
authorchrisw@osdl.org <chrisw@osdl.org>
Sat, 30 Apr 2005 02:55:33 +0000 (19:55 -0700)
committerGreg KH <gregkh@suse.de>
Thu, 12 May 2005 05:16:08 +0000 (22:16 -0700)
queue/rm-BUG-on-exit.patch [new file with mode: 0644]

diff --git a/queue/rm-BUG-on-exit.patch b/queue/rm-BUG-on-exit.patch
new file mode 100644 (file)
index 0000000..b72a885
--- /dev/null
@@ -0,0 +1,32 @@
+From stable-bounces@linux.kernel.org  Fri Apr 29 19:07:08 2005
+Date: Fri, 29 Apr 2005 19:06:26 -0700
+From: Andrew Morton <akpm@osdl.org>
+To: stable@kernel.org
+Subject: [PATCH] Remove bogus BUG() in kernel/exit.c
+
+Remove bogus BUG() in kernel/exit.c
+
+It's old sanity checking that may have been useful for debugging, but
+is just bogus these days.
+
+Noticed by Mattia Belletti.
+Signed-off-by: Chris Wright <chrisw@osdl.org>
+---
+
+ exit.c |    2 --
+ 1 files changed, 2 deletions(-)
+
+Index: kernel/exit.c
+===================================================================
+--- c5b67100cde9769c56f6872a5675d67f0e5f0df5/kernel/exit.c  (mode:100644 sha1:39d35935b3718a6a8161ea6043692168f81f127e)
++++ 074874a0f975d7d776b7a789f3fc1715f1fa9300/kernel/exit.c  (mode:100644 sha1:93851bcd9584597daac893eee17559c02d8b4a96)
+@@ -517,8 +517,6 @@ static inline void choose_new_parent(tas
+        */
+       BUG_ON(p == reaper || reaper->exit_state >= EXIT_ZOMBIE);
+       p->real_parent = reaper;
+-      if (p->parent == p->real_parent)
+-              BUG();
+ }
+ static inline void reparent_thread(task_t *p, task_t *father, int traced)
+-