[SCSI] sym53c8xx: free luntbl in sym_hcb_free
authorMike Anderson <andmike@linux.vnet.ibm.com>
Mon, 21 Jul 2008 22:58:32 +0000 (15:58 -0700)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Sat, 26 Jul 2008 19:14:56 +0000 (15:14 -0400)
commite41443ec3bb3dc4b12c861e91a5d36feb45f8a46
tree13b190126dc913d603d6ec4237f1725fa3913df2
parent773e82f6cdb026282ff7d26aaac291a5fa84ee3a
[SCSI] sym53c8xx: free luntbl in sym_hcb_free

This patch frees the luntbl dma area in sym_hcb_free if allocated.
Since the luntbl is part of a larger dma coherent area not freeing the
luntbl kept a 64k dma coherent area previous allocated through
dma_alloc_coherent allocated. This prevented a DLPAR remove IO
operation from completing successfully.

Signed-off-by: Mike Anderson <andmike@linux.vnet.ibm.com>
Cc: Matthew Wilcox <matthew@wil.cx>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
drivers/scsi/sym53c8xx_2/sym_hipd.c