From: Brian King Date: Tue, 9 Dec 2008 11:03:50 +0000 (+0900) Subject: SCSI: ibmvstgt: move crq_queue_create to the end of initialization X-Git-Tag: v2.6.27.11~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=af58ad34e8319acbd10d3404b61983ee4ae9e9bd;p=pandora-kernel.git SCSI: ibmvstgt: move crq_queue_create to the end of initialization commit 57458036af75c6dbb62bee04b3982e92261eddb1 upstream. 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 Signed-off-by: FUJITA Tomonori Reported-by: Olaf Hering Signed-off-by: James Bottomley Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed