aboutsummaryrefslogtreecommitdiff
path: root/include/linux/debugobjects.h
diff options
context:
space:
mode:
authorChristof Schmitt <[email protected]>2008-05-19 12:17:38 +0200
committerJames Bottomley <[email protected]>2008-06-05 09:27:13 -0500
commit9dfe1cc36be27040144238d30da05053db71beb1 (patch)
tree2e9c8a0d3f477fc13f9db1682dc74aa848315845 /include/linux/debugobjects.h
parentd26ab06ede83287f99067fee3034c5455a75faf9 (diff)
[SCSI] zfcp: Fix mempool pointer for GID_PN request allocation
When allocating memory for GID_PN nameserver requests, the allocation function stores the pointer to the mempool, but then overwrites the pointer via memset. Later, the wrong function to free the memory will be called, since this is based on the stored pointer. Fix this by first initializing the struct and then storing the pointer. Signed-off-by: Christof Schmitt <[email protected]> Signed-off-by: Martin Peschke <[email protected]> Signed-off-by: James Bottomley <[email protected]>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions