aboutsummaryrefslogtreecommitdiffstats
path: root/lib/zstd/compress.c
diff options
context:
space:
mode:
authorMartin Wilck <[email protected]>2020-08-06 13:19:31 +0000
committerJens Axboe <[email protected]>2020-08-21 23:14:27 +0000
commit93eb0381e13d249a18ed4aae203291ff977e7ffb (patch)
tree94c3bcdc93a6a5236116a37cc2dca3c3f04d83f2 /lib/zstd/compress.c
parentnvme-fc: Fix wrong return value in __nvme_fc_init_request() (diff)
downloadkernel-93eb0381e13d249a18ed4aae203291ff977e7ffb.tar.gz
kernel-93eb0381e13d249a18ed4aae203291ff977e7ffb.zip
nvme: multipath: round-robin: fix single non-optimized path case
If there's only one usable, non-optimized path, nvme_round_robin_path() returns NULL, which is wrong. Fix it by falling back to "old", like in the single optimized path case. Also, if the active path isn't changed, there's no need to re-assign the pointer. Fixes: 3f6e3246db0e ("nvme-multipath: fix logic for non-optimized paths") Signed-off-by: Martin Wilck <[email protected]> Signed-off-by: Martin George <[email protected]> Reviewed-by: Keith Busch <[email protected]> Signed-off-by: Sagi Grimberg <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'lib/zstd/compress.c')
0 files changed, 0 insertions, 0 deletions