[SCSI] fcoe: fcoe_interface create, destroy and refcounting
authorChris Leech <christopher.leech@intel.com>
Tue, 25 Aug 2009 21:00:02 +0000 (14:00 -0700)
committerJames Bottomley <James.Bottomley@suse.de>
Thu, 10 Sep 2009 17:07:35 +0000 (12:07 -0500)
commit030f4e001f13e0ee80bac1e756013341b1674d10
tree042791ba7bc3d9f2543abf33c511034421c97178
parentcb0a6ca81439a9f113d3b46de0953da168a06f6a
[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>
drivers/scsi/fcoe/fcoe.c
drivers/scsi/fcoe/fcoe.h