commit | dfc1d0fe3a8b2139295600ab519f24059493e6f6 | [log] [tgz] |
---|---|---|
author | Chris Leech <christopher.leech@intel.com> | Tue Aug 25 14:00:13 2009 -0700 |
committer | James Bottomley <James.Bottomley@suse.de> | Thu Sep 10 12:07:36 2009 -0500 |
tree | a26f1913bfe754700cf3ef38096d4c17bbbc321c | |
parent | 54b649f88eb17a29687bece4b8ad7d72d99e2d95 [diff] |
[SCSI] fcoe: add mutex to protect create and destroy Rather than rely on the hostlist_lock to be held while creating exchange managers, serialize fcoe instance creation and destruction with a mutex. This will allow the hostlist addition to be moved out of fcoe_if_create(), which will simplify NPIV support. 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>