diff options
author | Joe Eykholt <jeykholt@cisco.com> | 2011-01-29 01:04:18 +0100 |
---|---|---|
committer | James Bottomley <James.Bottomley@suse.de> | 2011-02-12 18:02:20 +0100 |
commit | 70d53b046a6221e3ceb3bd8eaa807ef6a1c53762 (patch) | |
tree | f1ab4e0de20a8db091ea04df564a03a689698b40 /virt | |
parent | [SCSI] libfc: add local port hook for provider session lookup (diff) | |
download | linux-70d53b046a6221e3ceb3bd8eaa807ef6a1c53762.tar.xz linux-70d53b046a6221e3ceb3bd8eaa807ef6a1c53762.zip |
[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 <jeykholt@cisco.com>
Signed-off-by: Robert Love <robert.w.love@intel.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions