From: Nicholas Bellinger Date: Mon, 23 Sep 2013 18:42:28 +0000 (-0700) Subject: vhost/scsi: Use GFP_ATOMIC with percpu_ida_alloc for obtaining tag X-Git-Tag: v3.12-rc4~2^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4a47d3a1ff10e564bf04f27ac14552df64f60cdf;p=pandora-kernel.git vhost/scsi: Use GFP_ATOMIC with percpu_ida_alloc for obtaining tag Fix GFP_KERNEL -> GFP_ATOMIC usage of percpu_ida_alloc() within vhost_scsi_get_tag(), as this code is expected to be called directly from interrupt context. v2 changes: - Handle possible tag < 0 failure with GFP_ATOMIC Acked-by: Michael S. Tsirkin Acked-by: Asias He Cc: Kent Overstreet Signed-off-by: Nicholas Bellinger --- Reading git-diff-tree failed