]> git.baikalelectronics.ru Git - kernel.git/commit
[SCSI] be2iscsi: Freeing of WRB and SGL Handle in cleanup task
authorMike Christie <michaelc@cs.wisc.edu>
Wed, 18 Apr 2012 08:06:00 +0000 (03:06 -0500)
committerJames Bottomley <JBottomley@Parallels.com>
Wed, 25 Apr 2012 08:01:40 +0000 (09:01 +0100)
commit9cf4160ef5c690cfd11c79a1c2c04b969bb9fa3b
tree79898110d3fb31019cc0103e98ec698490a642cf
parentc976c6fcd316660db95b3f128045c5981d483f69
[SCSI] be2iscsi: Freeing of WRB and SGL Handle in cleanup task

The WRB and SGL Handle allocated for Login task were not freed
back to the pool after the login process was done. This code
releases the WRB and SGL Handle after the login process.

v2:
- Fix up locking so bh calls are not done when not needed.
- Make beiscsi_cleanup_task static.

Signed-off-by: Jayamohan Kallickal <jayamohan.kallickal@emulex.com>
[various fixes]
Signed-off-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/be2iscsi/be_main.c