Whamcloud - gitweb
LU-14962 lnet: Check for -ESHUTDOWN in lnet_parse
authorChris Horn <chris.horn@hpe.com>
Tue, 24 Aug 2021 16:16:17 +0000 (11:16 -0500)
committerAndreas Dilger <adilger@whamcloud.com>
Fri, 23 Sep 2022 16:42:31 +0000 (16:42 +0000)
commit72f8e1f1d72c0ec630172de6b32baa960137fc96
tree49c439e1dd127097c97d1bb790e6d7d11c93994a
parent531c9dea6bbc30ad43a861b91ad1d56d248956df
LU-14962 lnet: Check for -ESHUTDOWN in lnet_parse

The fix for LU-8106, http://review.whamcloud.com/19993, no longer
works because rc does not have the return value from
lnet_nid2peerni_locked(). Use PTR_ERR to get the return value and
restore the LU-8106 fix.

Lustre-change: https://review.whamcloud.com/44743
Lustre-commit: cce82630cbf2c7badbbdd16a8ca9c8c0065ded13

Test-Parameters: trivial
HPE-bug-id: LUS-10333
Fixes: fa8b4e6357 ("LU-7734 lnet: peer/peer_ni handling adjustments")
Signed-off-by: Chris Horn <chris.horn@hpe.com>
Change-Id: I9cc2bc2d6e675d38cf06d99c524bdd95110bf0e9
Reviewed-on: https://review.whamcloud.com/48487
Reviewed-by: Frank Sehr <fsehr@whamcloud.com>
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
lnet/lnet/lib-move.c