diff options
author | Ezequiel Garcia <elezegarcia@gmail.com> | 2012-11-10 10:39:44 +0100 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2012-11-10 10:41:13 +0100 |
commit | c304a51bf42a7ce48f430a371e1213472c89e13d (patch) | |
tree | 687807afd01b9b19bb3ecb7c6d3f786a89112fb1 /block/genhd.c | |
parent | bee0393cc12b6d8f10e884e555a095e050e0b2b9 (diff) | |
download | lwn-c304a51bf42a7ce48f430a371e1213472c89e13d.tar.gz lwn-c304a51bf42a7ce48f430a371e1213472c89e13d.zip |
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>
Diffstat (limited to 'block/genhd.c')
-rw-r--r-- | block/genhd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/block/genhd.c b/block/genhd.c index 6cace663a80e..2a6fdf539a69 100644 --- a/block/genhd.c +++ b/block/genhd.c @@ -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); |