diff options
Diffstat (limited to 'kernel/block/blk-ioc.c')
-rw-r--r-- | kernel/block/blk-ioc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/block/blk-ioc.c b/kernel/block/blk-ioc.c index 28f467e63..dc8785233 100644 --- a/kernel/block/blk-ioc.c +++ b/kernel/block/blk-ioc.c @@ -290,7 +290,7 @@ struct io_context *get_task_io_context(struct task_struct *task, { struct io_context *ioc; - might_sleep_if(gfp_flags & __GFP_WAIT); + might_sleep_if(gfpflags_allow_blocking(gfp_flags)); do { task_lock(task); |