diff options
author | Nicholas Bellinger <[email protected]> | 2013-09-23 11:42:28 -0700 |
---|---|---|
committer | Nicholas Bellinger <[email protected]> | 2013-10-01 21:27:31 -0700 |
commit | 4a47d3a1ff10e564bf04f27ac14552df64f60cdf (patch) | |
tree | 403bdc848fc11049bd20ecb565f701a4d1f3f5c3 /lib/string_helpers.c | |
parent | 0b41d6ca616ddeb3b6c0a80e8770b6f53cd42806 (diff) |
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 <[email protected]>
Acked-by: Asias He <[email protected]>
Cc: Kent Overstreet <[email protected]>
Signed-off-by: Nicholas Bellinger <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions