diff options
author | Brian King <brking@linux.vnet.ibm.com> | 2008-12-09 20:03:50 +0900 |
---|---|---|
committer | James Bottomley <James.Bottomley@HansenPartnership.com> | 2008-12-09 09:45:30 -0600 |
commit | 57458036af75c6dbb62bee04b3982e92261eddb1 (patch) | |
tree | 63d1611f4f54165e1dbb2bce92fcacb7b0b045b0 /drivers/scsi/scsi_lib.c | |
parent | d3acf0226debeae22d87808f8f298386bd08e391 (diff) | |
download | op-kernel-dev-57458036af75c6dbb62bee04b3982e92261eddb1.zip op-kernel-dev-57458036af75c6dbb62bee04b3982e92261eddb1.tar.gz |
[SCSI] ibmvstgt: move crq_queue_create to the end of initialization
Calling crq_queue_create could lead to the creation of a rport. We
need to set up everything before creating a rport. This moves
crq_queue_create to the end of initialization to avoid a race which
causes an oops if lost.
Signed-off-by: Brian King <brking@linux.vnet.ibm.com>
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Reported-by: Olaf Hering <olh@suse.de>
Cc: stable@kernel.org
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'drivers/scsi/scsi_lib.c')
0 files changed, 0 insertions, 0 deletions