diff options
author | Shakeel Butt <shakeelb@google.com> | 2018-07-03 13:14:46 -0400 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2018-07-09 11:07:54 -0400 |
commit | c137969bd4c5b2a67803d10518e3d60d3b13d0cb (patch) | |
tree | 822f9c5d4d67b7a74063b1dcc091ec2a1c60c725 /block/blk-ioc.c | |
parent | 00a8cdb84fcb64c7f9f1061298ff676a96dfaf41 (diff) |
block, mm: remove unnecessary __GFP_HIGH flag
The flag GFP_ATOMIC already contains __GFP_HIGH. There is no need to
explicitly or __GFP_HIGH again. So, just remove unnecessary __GFP_HIGH.
Signed-off-by: Shakeel Butt <shakeelb@google.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/blk-ioc.c')
-rw-r--r-- | block/blk-ioc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/block/blk-ioc.c b/block/blk-ioc.c index f23311e4b201..01580f88fcb3 100644 --- a/block/blk-ioc.c +++ b/block/blk-ioc.c | |||
@@ -278,7 +278,7 @@ int create_task_io_context(struct task_struct *task, gfp_t gfp_flags, int node) | |||
278 | atomic_set(&ioc->nr_tasks, 1); | 278 | atomic_set(&ioc->nr_tasks, 1); |
279 | atomic_set(&ioc->active_ref, 1); | 279 | atomic_set(&ioc->active_ref, 1); |
280 | spin_lock_init(&ioc->lock); | 280 | spin_lock_init(&ioc->lock); |
281 | INIT_RADIX_TREE(&ioc->icq_tree, GFP_ATOMIC | __GFP_HIGH); | 281 | INIT_RADIX_TREE(&ioc->icq_tree, GFP_ATOMIC); |
282 | INIT_HLIST_HEAD(&ioc->icq_list); | 282 | INIT_HLIST_HEAD(&ioc->icq_list); |
283 | INIT_WORK(&ioc->release_work, ioc_release_fn); | 283 | INIT_WORK(&ioc->release_work, ioc_release_fn); |
284 | 284 | ||