]> 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)
commitdc3c2622c4b61946124c0a8922c53726795eeaef
tree79898110d3fb31019cc0103e98ec698490a642cf
parentd707f7483aa63cdab3d3f1e5f11c5617c2ff1863
[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