[SCSI] fnic: fix incorrect use of SLAB_CACHE_DMA flag
authorAbhijeet Joglekar <abjoglek@cisco.com>
Tue, 14 Jun 2011 04:21:01 +0000 (21:21 -0700)
committerJames Bottomley <JBottomley@Parallels.com>
Wed, 29 Jun 2011 21:05:41 +0000 (16:05 -0500)
commit0c79c74272b25bbcfb0149d5a4627ed768795d2d
treed9684dfd8a26ecc7192d7ee4a99cfb023d186468
parent7bb66fc06eb8ac1b823f8221ff1eb574ec3bacb1
[SCSI] fnic: fix incorrect use of SLAB_CACHE_DMA flag

Driver was incorrectly using the SLAB_CACHE_DMA flag when creating a cache
for SGLs. fnic device does not have 24-bit DMA restrictions. Remove the flag
and allocations from ZONE_DMA.

Thanks to Roland Dreier and David Rientjes for pointing out the bug.

Signed-off-by: Abhijeet Joglekar <abjoglek@cisco.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/fnic/fnic.h
drivers/scsi/fnic/fnic_main.c
drivers/scsi/fnic/fnic_scsi.c
This page took 0.041972 seconds and 5 git commands to generate.