diff options
author | Mike Christie <michaelc@cs.wisc.edu> | 2006-06-28 13:00:27 -0400 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.il.steeleye.com> | 2006-06-29 11:08:10 -0400 |
commit | f53a88da18e3c04c3ade07bc5eff520ee4259c3e (patch) | |
tree | a3b89b4d0e621d5dbf051fd7b2191de7f053d312 /include | |
parent | 5c75b7fcf0c0e3921391fd93f5fa58ec9a6c428f (diff) |
[SCSI] iscsi: fix session refcouting
iscsi_tcp and iser cannot be rmmod from the kernel when sessions
are running because session removal is driven from userspace. For
those modules we get a module reference when a session is
created then drop it when the session is removed.
For qla4xxx, they can jsut remove the sessions from the pci remove
function like normal HW drivers, so this patch moves the module
reference from the transport class functions shared by all
drivers to the libiscsi functions only used be software iscsi
modules.
Signed-off-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions