diff options
author | Joe Eykholt <jeykholt@cisco.com> | 2010-07-20 15:19:53 -0700 |
---|---|---|
committer | James Bottomley <James.Bottomley@suse.de> | 2010-07-28 09:05:52 -0500 |
commit | 0685230c59b5482e04ab50e7afc51119ceaba651 (patch) | |
tree | 64fbf16efb314efc5cba7e313342f0d57ce81e95 /Kbuild | |
parent | fdb068c6cd6e30d43664f856d3530715a5742713 (diff) | |
download | blackbird-op-linux-0685230c59b5482e04ab50e7afc51119ceaba651.tar.gz blackbird-op-linux-0685230c59b5482e04ab50e7afc51119ceaba651.zip |
[SCSI] libfc: add discovery-private pointer for LLD
For VN_port to VN_port mode, FIP will do discovery and needs a
way to find its state from the local port or discovery structure.
It seems that any other LLD that implements its own discovery
would also need something like this.
Replace disc->lport with disc->priv, and use container_of to
find the lport. We could use disc->priv for that, but
container_of is smaller and faster.
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 'Kbuild')
0 files changed, 0 insertions, 0 deletions