summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/aacraid
diff options
context:
space:
mode:
authorVasu Dev <vasu.dev@intel.com>2010-05-08 00:19:03 +0200
committerJames Bottomley <James.Bottomley@suse.de>2010-05-17 04:22:40 +0200
commit15af974dcb22914f29aeb9a9cac5879b0dc3860e (patch)
treeffec602e4414afdf0486f475b79087ac3240928d /drivers/scsi/aacraid
parent[SCSI] libfcoe: FIP Keep-Alive messages for VPorts are sent with incorrect po... (diff)
downloadlinux-15af974dcb22914f29aeb9a9cac5879b0dc3860e.tar.xz
linux-15af974dcb22914f29aeb9a9cac5879b0dc3860e.zip
[SCSI] fcoe: fix fcoe module ref counting
Currently fcoe module ref count is used for tracking active fcoe instances, it means each fcoe instance create increments the count while destroy dec the count. The dec is done only if fcoe instance is destroyed from /sysfs but not if destroyed due to NETDEV_UNREGISTER event. So this patch moves only module_put doing dec to common fcoe_if_destroy function, so that dec would occur on ever fcoe instance destroy. Signed-off-by: Vasu Dev <vasu.dev@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/aacraid')
0 files changed, 0 insertions, 0 deletions