From: Joe Eykholt Date: Sat, 29 Jan 2011 00:04:18 +0000 (-0800) Subject: [SCSI] libfc: add hook to notify providers of local port changes X-Git-Tag: v2.6.39-rc1~440^2~114 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=70d53b046a6221e3ceb3bd8eaa807ef6a1c53762;p=pandora-kernel.git [SCSI] libfc: add hook to notify providers of local port changes When an SCST provider is registered, it needs to know what local ports are available for configuration as targets. Add a notifier chain that is invoked when any local port that is added or deleted. Maintain a global list of local ports and add an interator function that calls a given function for every existing local port. This is used when first loading a provider. Signed-off-by: Joe Eykholt Signed-off-by: Robert Love Signed-off-by: James Bottomley --- Reading git-diff-tree failed