[SCSI] ibmvfc: Fixup GFP flags for target allocations
authorBrian King <brking@linux.vnet.ibm.com>
Thu, 28 May 2009 21:17:24 +0000 (16:17 -0500)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Mon, 8 Jun 2009 18:07:31 +0000 (13:07 -0500)
commit7270b9bde5f382e730e1ef69d6c1b34d388df2b0
tree081c826dd97cc7310eab63cfa0b719e6211f98cb
parent4a2837d4fcaf8a2c2ad61523287073d0c14b9ed0
[SCSI] ibmvfc: Fixup GFP flags for target allocations

Since target allocations can occur while resetting the virtual adapter,
we shouldn't be using GFP_KERNEL for them as it could hang. Switch to
use GFP_NOIO.

Signed-off-by: Brian King <brking@linux.vnet.ibm.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
drivers/scsi/ibmvscsi/ibmvfc.c