s390/scm_blk: correct numa_node in scm_blk_dev_setup
authorVasily Gorbik <gor@linux.ibm.com>
Mon, 25 Jun 2018 12:30:42 +0000 (14:30 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Mon, 2 Jul 2018 09:24:48 +0000 (11:24 +0200)
commitd642d6262f4fcfa5d200ec6e218c17f0c15b3390
tree6070bb929fabaad4c5839b48bb8f423f2d44ca40
parentb17e3abb0af404cb62ad4ef1a5962f58b06e2b78
s390/scm_blk: correct numa_node in scm_blk_dev_setup

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: Sebastian Ott <sebott@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
drivers/s390/block/scm_blk.c