]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
s390/dasd: correct numa_node in dasd_alloc_queue
authorVasily Gorbik <gor@linux.ibm.com>
Sun, 24 Jun 2018 07:21:59 +0000 (09:21 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Mon, 2 Jul 2018 09:24:31 +0000 (11:24 +0200)
commitb17e3abb0af404cb62ad4ef1a5962f58b06e2b78
treec1927fc7a8973d5ae2cf20d7e86b19d1b0efbdc5
parentc879f71c746c655ae03e1b828296c461b77ac8b6
s390/dasd: correct numa_node in dasd_alloc_queue

The numa_node field of the tag_set struct has to be explicitly
initialized, otherwise it stays as 0, which is a valid numa node id and
cause memory allocation failure if node 0 is offline.

Acked-by: Stefan Haberland <sth@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
drivers/s390/block/dasd.c