[SCSI] aacraid: fix potential panic in thread stop
authorSalyzyn, Mark <mark_salyzyn@adaptec.com>
Wed, 31 Oct 2007 20:40:37 +0000 (16:40 -0400)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Wed, 7 Nov 2007 16:15:49 +0000 (08:15 -0800)
commite85fbc595aa527e0b3c9a738c4dc1d7717afb30c
tree6d953c87b9b1d99af671d99baad9a20d90008766
parent3b2d871245357015cac621d7612b6ecf59f424df
[SCSI] aacraid: fix potential panic in thread stop

Got a panic in the threading code on an older kernel when the Adapter
failed to load properly and driver shut down apparently before any
threading had started, can not dupe. Expect that this may be relevant in
the latest kernel, but not sure. This patch does no harm, and should
alleviate the possibility of this panic.

Signed-off-by: Mark Salyzyn <aacraid@adaptec.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
drivers/scsi/aacraid/linit.c