[SCSI] be2iscsi: fix gfp use in alloc_pdu
authorMike Christie <michaelc@cs.wisc.edu>
Fri, 31 Dec 2010 08:22:19 +0000 (02:22 -0600)
committerJames Bottomley <James.Bottomley@suse.de>
Fri, 31 Dec 2010 15:52:22 +0000 (09:52 -0600)
commitbc7accec8788ada4f459461194c2b8fad94ed239
tree4a8e044297611ce571ced562aad033b07f82e69d
parentdf4da5cdfca05b37b366b9c69925b68586969c1c
[SCSI] be2iscsi: fix gfp use in alloc_pdu

The pdu allication callout is called from a spin lock
and in the IO path so we cannot use GFP_KERNEL. This
has the driver use GFP_ATOMIC.

Signed-off-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/scsi/be2iscsi/be_main.c