summaryrefslogtreecommitdiff
path: root/block/deadline-iosched.c
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2013-08-30 02:21:42 +0400
committerJens Axboe <axboe@kernel.dk>2013-09-11 23:22:03 +0400
commitc1b511eb211a6c72d66f7755d2b30a9a91ef9423 (patch)
tree9f86174885153c8669c06db0475457360eb2f65b /block/deadline-iosched.c
parent7aef2e780b13973ea60aed8c556107dabde6a495 (diff)
downloadlinux-c1b511eb211a6c72d66f7755d2b30a9a91ef9423.tar.xz
block: Convert kmalloc_node(...GFP_ZERO...) to kzalloc_node(...)
Use the helper function instead of __GFP_ZERO. Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/deadline-iosched.c')
-rw-r--r--block/deadline-iosched.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/block/deadline-iosched.c b/block/deadline-iosched.c
index 20614a332362..9ef66406c625 100644
--- a/block/deadline-iosched.c
+++ b/block/deadline-iosched.c
@@ -346,7 +346,7 @@ static int deadline_init_queue(struct request_queue *q, struct elevator_type *e)
if (!eq)
return -ENOMEM;
- dd = kmalloc_node(sizeof(*dd), GFP_KERNEL | __GFP_ZERO, q->node);
+ dd = kzalloc_node(sizeof(*dd), GFP_KERNEL, q->node);
if (!dd) {
kobject_put(&eq->kobj);
return -ENOMEM;