mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-31 04:01:48 -04:00
block: use NUMA_NO_NODE instead of -1
Signed-off-by: Ezequiel Garcia <[email protected]> Modified by me to cover blk_init_queue() as well. Signed-off-by: Jens Axboe <[email protected]>
This commit is contained in:
parent
bee0393cc1
commit
c304a51bf4
2 changed files with 3 additions and 3 deletions
|
|
@ -1245,7 +1245,7 @@ EXPORT_SYMBOL(blk_lookup_devt);
|
|||
|
||||
struct gendisk *alloc_disk(int minors)
|
||||
{
|
||||
return alloc_disk_node(minors, -1);
|
||||
return alloc_disk_node(minors, NUMA_NO_NODE);
|
||||
}
|
||||
EXPORT_SYMBOL(alloc_disk);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue