]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] remove name length check in a workqueue
authorJames Bottomley <James.Bottomley@SteelEye.com>
Wed, 10 Aug 2005 18:29:15 +0000 (11:29 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 10 Aug 2005 18:55:19 +0000 (11:55 -0700)
commit606867443764edac5a2c542f2fa0a12ef7a7c7fd
tree61110afaef5e8be41be940815a8bd6065e32c5da
parent3462b925414a146d4c2252de97d20f89218d1ffb
[PATCH] remove name length check in a workqueue

We have a chek in there to make sure that the name won't overflow
task_struct.comm[], but it's triggering for scsi with lots of HBAs, only
scsi is using single-threaded workqueues which don't append the "/%d"
anyway.

All too hard.  Just kill the BUG_ON.

Cc: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Andrew Morton <akpm@osdl.org>
[ kthread_create() uses vsnprintf() and limits the thing, so no
  actual overflow can actually happen regardless ]

Signed-off-by: Linus Torvalds <torvalds@osdl.org>
kernel/workqueue.c