iscsi: Use GFP_ATOMIC in iscsi_offload_mesg().
authorMichael Chan <mchan@broadcom.com>
Wed, 29 Jul 2009 08:49:52 +0000 (08:49 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 30 Jul 2009 18:05:03 +0000 (11:05 -0700)
commita541f8401d8e9113a89ee902cb8d8e412d6d3569
tree5e6db46128f92794e0535a1aa8e0b08938dfe39e
parentca7daea612b480ecf0fc5bd1630b88447fe73fc5
iscsi: Use GFP_ATOMIC in iscsi_offload_mesg().

Changing to GFP_ATOMIC because the only caller in cnic/bnx2i may
be calling this function while holding spin_lock.

This problem was discovered by Mike Christie.

Signed-off-by: Michael Chan <mchan@broadcom.com>
Acked-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/scsi/scsi_transport_iscsi.c