diff options
author | Alan D. Brunelle <Alan.Brunelle@hp.com> | 2008-04-29 16:12:51 -0400 |
---|---|---|
committer | James Bottomley <James.Bottomley@HansenPartnership.com> | 2008-04-29 19:37:32 -0500 |
commit | 61d7416a286e840d905c18b1e6b0977c036c8656 (patch) | |
tree | fd2f3e837df0f7545fbc1d1467602c9934b35849 /drivers/scsi/ibmvscsi/iseries_vscsi.c | |
parent | 49dd09613cf8ae3b697c341c501b7526b462cfeb (diff) |
[SCSI] bug fix for free list handling
commit:
commit 542bd1377a963070bc4a03ff7d2690ddf3920596
Author: James Bottomley <James.Bottomley@HansenPartnership.com>
Date: Mon Apr 21 10:57:20 2008 -0500
[SCSI] fix SLUB WARN_ON
Fixed another problem in free list handling by moving list allocation
from scsi_host_alloc() to scsi_add_host(). Unfortunately it
introduced a new failure mode in that hosts can pass straight from
alloc to put without going through add, leaving the free list
uninitialised.
Fix by checking shost->cmd_pool on the release path to see if it got
initialised.
Signed-off-by: Alan D. Brunelle <alan.brunelle@hp.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'drivers/scsi/ibmvscsi/iseries_vscsi.c')
0 files changed, 0 insertions, 0 deletions