]> www.infradead.org Git - users/dwmw2/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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 3 Oct 2018 23:59:09 +0000 (16:59 -0700)
commit0c6df6d17ab43cdb5c889d49149aeb9160e6cb45
tree17464a0902b463afcc8c9c7357bda75ea5d338a9
parent04937aaaf8c795481580c323d91ee40a74cc66af
s390/dasd: correct numa_node in dasd_alloc_queue

[ Upstream commit b17e3abb0af404cb62ad4ef1a5962f58b06e2b78 ]

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>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/s390/block/dasd.c