diff options
author | Mike Christie <michaelc@cs.wisc.edu> | 2006-06-28 12:00:27 -0500 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.il.steeleye.com> | 2006-06-29 11:08:10 -0400 |
commit | f53a88da18e3c04c3ade07bc5eff520ee4259c3e (patch) | |
tree | a3b89b4d0e621d5dbf051fd7b2191de7f053d312 /sound | |
parent | 5c75b7fcf0c0e3921391fd93f5fa58ec9a6c428f (diff) | |
download | linux-f53a88da18e3c04c3ade07bc5eff520ee4259c3e.tar.gz linux-f53a88da18e3c04c3ade07bc5eff520ee4259c3e.tar.bz2 linux-f53a88da18e3c04c3ade07bc5eff520ee4259c3e.zip |
[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 'sound')
0 files changed, 0 insertions, 0 deletions