[SCSI] fix scsi_setup_command_freelist failure path race
authorFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Mon, 7 Jan 2008 22:59:05 +0000 (07:59 +0900)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Sat, 12 Jan 2008 00:29:18 +0000 (18:29 -0600)
commit166a72878f76e911f2d1ce4b2310d4403e94be11
treeb076d9b97024a220437561d1a343e4a8f3630a63
parent210ba1d1724f5c4ed87a2ab1a21ca861a915f734
[SCSI] fix scsi_setup_command_freelist failure path race

Looks like that host_cmd_pool_mutex are necessary here.

Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
drivers/scsi/scsi.c