xen-scsifront: use GFP_ATOMIC under spin_lock
authorDan Carpenter <dan.carpenter@oracle.com>
Mon, 8 Sep 2014 11:15:42 +0000 (14:15 +0300)
committerStefano Stabellini <stefano.stabellini@eu.citrix.com>
Tue, 23 Sep 2014 13:36:19 +0000 (13:36 +0000)
commitd9b1e6374b3a9b88774e30d0c6bf6e394cd10b76
tree759df9442e7f40a8e804ff5cb5f06b6ba52df070
parent15d036094b75e63a3817ec4f836959d38cecb1e6
xen-scsifront: use GFP_ATOMIC under spin_lock

This function is only called with a spin_lock held and IRQs disabled.
The allocation is not allowed to sleep and NOIO is not sufficient, it
has to be ATOMIC.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Juergen Gross <jgross@suse.com>
Signed-off-by: David Vrabel <david.vrabel@citrix.com>
drivers/scsi/xen-scsifront.c