aboutsummaryrefslogtreecommitdiffstats
path: root/fs/jbd2/commit.c
diff options
context:
space:
mode:
authorMasayoshi Mizuma <[email protected]>2016-06-20 00:33:17 +0000
committerJens Axboe <[email protected]>2016-07-13 16:17:55 +0000
commit2fa843512bb5bbc0e876e4f55e22f26a3a8d3edb (patch)
treeb67ab35ae369935c62c0b4d120af3f3e6de8dd25 /fs/jbd2/commit.c
parentnvme: Limit command retries (diff)
downloadkernel-2fa843512bb5bbc0e876e4f55e22f26a3a8d3edb.tar.gz
kernel-2fa843512bb5bbc0e876e4f55e22f26a3a8d3edb.zip
nvme: avoid crashes when node 0 is memoryless node.
When CONFIG_NUMA is enabled and node 0 is memoryless, the system crashes because nvme_probe() sets the device->numa_node to 0 by set_dev_node(&pdev->dev, 0), so it tries to allocate memory from node 0. To avoid the crash, we should change the 0 to first_memory_node. Signed-off-by: Masayoshi Mizuma <[email protected]> Reviewed-by: Johannes Thumshirn <[email protected]> Reviewed-by: Keith Busch <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions