diff options
author | Christoph Hellwig <hch@lst.de> | 2020-05-04 14:48:00 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2020-05-09 16:15:13 -0600 |
commit | aef33c2ff8aa5e24f3f7d93806aa84ca1c2b6832 (patch) | |
tree | af138746701834e45f83a99f3634ab502c465799 /block | |
parent | 3c5d202b55d3fa9106607f99cdd5044b02b5929b (diff) | |
download | linux-stable-aef33c2ff8aa5e24f3f7d93806aa84ca1c2b6832.tar.gz linux-stable-aef33c2ff8aa5e24f3f7d93806aa84ca1c2b6832.tar.bz2 linux-stable-aef33c2ff8aa5e24f3f7d93806aa84ca1c2b6832.zip |
bdi: simplify bdi_alloc
Merge the _node vs normal version and drop the superflous gfp_t argument.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Jan Kara <jack@suse.cz>
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Reviewed-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block')
-rw-r--r-- | block/blk-core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/block/blk-core.c b/block/blk-core.c index 7f11560bfddb..285a2f8ee8d3 100644 --- a/block/blk-core.c +++ b/block/blk-core.c @@ -501,7 +501,7 @@ struct request_queue *__blk_alloc_queue(int node_id) if (ret) goto fail_id; - q->backing_dev_info = bdi_alloc_node(GFP_KERNEL, node_id); + q->backing_dev_info = bdi_alloc(node_id); if (!q->backing_dev_info) goto fail_split; |