diff options
author | Chris Leech <christopher.leech@intel.com> | 2009-08-25 17:00:02 -0400 |
---|---|---|
committer | James Bottomley <James.Bottomley@suse.de> | 2009-09-10 13:07:35 -0400 |
commit | 030f4e001f13e0ee80bac1e756013341b1674d10 (patch) | |
tree | 042791ba7bc3d9f2543abf33c511034421c97178 /drivers/scsi/fcoe/fcoe.h | |
parent | cb0a6ca81439a9f113d3b46de0953da168a06f6a (diff) |
[SCSI] fcoe: fcoe_interface create, destroy and refcounting
Up to this point the fcoe_instance structure was simply kzalloc/kfreed. This
patch introduces create and destroy functions as well as kref based reference
counting. The create function will grow as the initialization code is moved
there.
Signed-off-by: Chris Leech <christopher.leech@intel.com>
Signed-off-by: Robert Love <robert.w.love@intel.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'drivers/scsi/fcoe/fcoe.h')
-rw-r--r-- | drivers/scsi/fcoe/fcoe.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/scsi/fcoe/fcoe.h b/drivers/scsi/fcoe/fcoe.h index 673e70e1f8bb..ff229288b7f0 100644 --- a/drivers/scsi/fcoe/fcoe.h +++ b/drivers/scsi/fcoe/fcoe.h | |||
@@ -84,6 +84,7 @@ struct fcoe_interface { | |||
84 | struct packet_type fip_packet_type; | 84 | struct packet_type fip_packet_type; |
85 | struct fcoe_ctlr ctlr; | 85 | struct fcoe_ctlr ctlr; |
86 | struct fc_exch_mgr *oem; /* offload exchange manager */ | 86 | struct fc_exch_mgr *oem; /* offload exchange manager */ |
87 | struct kref kref; | ||
87 | }; | 88 | }; |
88 | 89 | ||
89 | /* | 90 | /* |