]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.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)
committerJuerg Haefliger <juergh@canonical.com>
Wed, 24 Jul 2019 01:50:52 +0000 (19:50 -0600)
commita4f54fdd7a65ff47d7dec781e6219dc6551aa27b
tree6b9f184fd87b95a2062fa9b72d584a058b004c25
parente78b9c9bd374dadbaf0cf654a5b715de6fb32b9c
s390/dasd: correct numa_node in dasd_alloc_queue

BugLink: https://bugs.launchpad.net/bugs/1836287
[ 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>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Khalid Elmously <khalid.elmously@canonical.com>
drivers/s390/block/dasd.c