summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/ibmmca.c
diff options
context:
space:
mode:
authorMike Christie2006-06-28 19:00:27 +0200
committerJames Bottomley2006-06-29 17:08:10 +0200
commitf53a88da18e3c04c3ade07bc5eff520ee4259c3e (patch)
treea3b89b4d0e621d5dbf051fd7b2191de7f053d312 /drivers/scsi/ibmmca.c
parent[SCSI] iscsi: convert iscsi_tcp to new set/get param fns (diff)
downloadkernel-qcow2-linux-f53a88da18e3c04c3ade07bc5eff520ee4259c3e.tar.gz
kernel-qcow2-linux-f53a88da18e3c04c3ade07bc5eff520ee4259c3e.tar.xz
kernel-qcow2-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 'drivers/scsi/ibmmca.c')
0 files changed, 0 insertions, 0 deletions