[SCSI] ipr: Avoid target_destroy accessing memory after it was freed
authorwenxiong@linux.vnet.ibm.com <wenxiong@linux.vnet.ibm.com>
Thu, 14 Mar 2013 18:52:25 +0000 (13:52 -0500)
committerJames Bottomley <JBottomley@Parallels.com>
Sun, 12 May 2013 22:07:42 +0000 (15:07 -0700)
commit222ab5946860e1d77870ffbfebebff2bcb1f4215
tree6ed646b1b53667ad098a6440333543ca114019bb
parent364398324c901bc834f762eb5443d2e5a1d2a0db
[SCSI] ipr: Avoid target_destroy accessing memory after it was freed

Defined target_ids,array_ids and vsets_ids as unsigned long to avoid
target_destroy accessing memory after it was freed.

Signed-off-by: Wen Xiong <wenxiong@linux.vnet.ibm.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/ipr.c
drivers/scsi/ipr.h