From: Abhijeet Joglekar Date: Tue, 21 Apr 2009 23:26:52 +0000 (-0700) Subject: [SCSI] libfc: Hold disc mutex while processing gpn ft resp X-Git-Tag: v2.6.30-rc5~53^2~26 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0d228c0f7f9e3ade147e57682915c55b92448230;p=pandora-kernel.git [SCSI] libfc: Hold disc mutex while processing gpn ft resp gpn_ft_resp processing currently does not hold the discovery lock. disc_done() thus gets called from gpn_ft_resp or from gpn_ft_parse without the lock held. This then sets disc->pending to zero or calls gpn_ft_req() without disc_lock held. - Hold disc mutex during gpn_ft resp processing - In disc_done, release the disc mutex while calling lport callback Signed-off-by: Abhijeet Joglekar Signed-off-by: Robert Love Signed-off-by: James Bottomley --- Reading git-diff-tree failed