• James Bottomley's avatar
    [PATCH] remove name length check in a workqueue · 60686744
    James Bottomley authored
    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: default avatarAndrew Morton <akpm@osdl.org>
    
    [ kthread_create() uses vsnprintf() and limits the thing, so no
      actual overflow can actually happen regardless ]
    Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
    60686744
workqueue.c 13.4 KB