diff options
author | Joe Perches <joe@perches.com> | 2013-08-29 15:21:42 -0700 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2013-09-11 13:22:03 -0600 |
commit | c1b511eb211a6c72d66f7755d2b30a9a91ef9423 (patch) | |
tree | 9f86174885153c8669c06db0475457360eb2f65b /block/elevator.c | |
parent | 7aef2e780b13973ea60aed8c556107dabde6a495 (diff) | |
download | linux-c1b511eb211a6c72d66f7755d2b30a9a91ef9423.tar.gz linux-c1b511eb211a6c72d66f7755d2b30a9a91ef9423.tar.bz2 linux-c1b511eb211a6c72d66f7755d2b30a9a91ef9423.zip |
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/elevator.c')
-rw-r--r-- | block/elevator.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/block/elevator.c b/block/elevator.c index 668394d18588..2bcbd8cc14d4 100644 --- a/block/elevator.c +++ b/block/elevator.c @@ -155,7 +155,7 @@ struct elevator_queue *elevator_alloc(struct request_queue *q, { struct elevator_queue *eq; - eq = kmalloc_node(sizeof(*eq), GFP_KERNEL | __GFP_ZERO, q->node); + eq = kzalloc_node(sizeof(*eq), GFP_KERNEL, q->node); if (unlikely(!eq)) goto err; |