block: use NUMA_NO_NODE instead of -1
Signed-off-by: Ezequiel Garcia <elezegarcia@gmail.com> Modified by me to cover blk_init_queue() as well. Signed-off-by: Jens Axboe <axboe@kernel.dk>
This commit is contained in:
parent
bee0393cc1
commit
c304a51bf4
|
@ -549,7 +549,7 @@ void blk_exit_rl(struct request_list *rl)
|
||||||
|
|
||||||
struct request_queue *blk_alloc_queue(gfp_t gfp_mask)
|
struct request_queue *blk_alloc_queue(gfp_t gfp_mask)
|
||||||
{
|
{
|
||||||
return blk_alloc_queue_node(gfp_mask, -1);
|
return blk_alloc_queue_node(gfp_mask, NUMA_NO_NODE);
|
||||||
}
|
}
|
||||||
EXPORT_SYMBOL(blk_alloc_queue);
|
EXPORT_SYMBOL(blk_alloc_queue);
|
||||||
|
|
||||||
|
@ -660,7 +660,7 @@ EXPORT_SYMBOL(blk_alloc_queue_node);
|
||||||
|
|
||||||
struct request_queue *blk_init_queue(request_fn_proc *rfn, spinlock_t *lock)
|
struct request_queue *blk_init_queue(request_fn_proc *rfn, spinlock_t *lock)
|
||||||
{
|
{
|
||||||
return blk_init_queue_node(rfn, lock, -1);
|
return blk_init_queue_node(rfn, lock, NUMA_NO_NODE);
|
||||||
}
|
}
|
||||||
EXPORT_SYMBOL(blk_init_queue);
|
EXPORT_SYMBOL(blk_init_queue);
|
||||||
|
|
||||||
|
|
|
@ -1245,7 +1245,7 @@ EXPORT_SYMBOL(blk_lookup_devt);
|
||||||
|
|
||||||
struct gendisk *alloc_disk(int minors)
|
struct gendisk *alloc_disk(int minors)
|
||||||
{
|
{
|
||||||
return alloc_disk_node(minors, -1);
|
return alloc_disk_node(minors, NUMA_NO_NODE);
|
||||||
}
|
}
|
||||||
EXPORT_SYMBOL(alloc_disk);
|
EXPORT_SYMBOL(alloc_disk);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue