commit | c304a51bf42a7ce48f430a371e1213472c89e13d | [log] [tgz] |
---|---|---|
author | Ezequiel Garcia <elezegarcia@gmail.com> | Sat Nov 10 10:39:44 2012 +0100 |
committer | Jens Axboe <axboe@kernel.dk> | Sat Nov 10 10:41:13 2012 +0100 |
tree | 687807afd01b9b19bb3ecb7c6d3f786a89112fb1 | |
parent | bee0393cc12b6d8f10e884e555a095e050e0b2b9 [diff] [blame] |
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>
diff --git a/block/genhd.c b/block/genhd.c index 6cace66..2a6fdf5 100644 --- a/block/genhd.c +++ b/block/genhd.c
@@ -1245,7 +1245,7 @@ struct gendisk *alloc_disk(int minors) { - return alloc_disk_node(minors, -1); + return alloc_disk_node(minors, NUMA_NO_NODE); } EXPORT_SYMBOL(alloc_disk);