diff options
author | Brian King <brking@linux.vnet.ibm.com> | 2008-12-09 11:03:50 (GMT) |
---|---|---|
committer | James Bottomley <James.Bottomley@HansenPartnership.com> | 2008-12-09 15:45:30 (GMT) |
commit | 57458036af75c6dbb62bee04b3982e92261eddb1 (patch) | |
tree | 63d1611f4f54165e1dbb2bce92fcacb7b0b045b0 /lib/genalloc.c | |
parent | d3acf0226debeae22d87808f8f298386bd08e391 (diff) | |
download | linux-57458036af75c6dbb62bee04b3982e92261eddb1.tar.xz |
[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 'lib/genalloc.c')
0 files changed, 0 insertions, 0 deletions