]> www.infradead.org Git - users/jedix/linux-maple.git/commit
be2iscsi:Freeing of WRB and SGL Handle in cleanup task
authorroot <root@localhost.localdomain>
Wed, 2 May 2012 14:09:28 +0000 (19:39 +0530)
committerMaxim Uvarov <maxim.uvarov@oracle.com>
Fri, 11 May 2012 00:08:48 +0000 (17:08 -0700)
commit952cb8143ac37a04626a1ca0ac3fe88c7a89848f
tree41f4f74dc10a1eedd95ef0523b0a9cbf0c4c1205
parent6108906f436fe431ee2803703d276b3e4d51132b
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>
Signed-off-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: root <root@localhost.(none)>
drivers/scsi/be2iscsi/be_main.c