Whamcloud - gitweb
LU-15462 gnilnd: Fix syntax accessor to nid_addr 26/46226/2
authorShaun Tancheff <stancheff@cray.com>
Thu, 20 Jan 2022 03:23:58 +0000 (10:23 +0700)
committerOleg Drokin <green@whamcloud.com>
Wed, 26 Jan 2022 05:17:01 +0000 (05:17 +0000)
Minor typo breaking build of gnilnd

Test-Parameters: trivial
Fixes: 57c03f307075 ("LU-10391 lnet: extend nids in struct lnet_msg")
Signed-off-by: Shaun Tancheff <shaun.tancheff@hpe.com>
Change-Id: Ia8444d541c5ec175eacb2bf96d72e4b0fd80d19f
Reviewed-on: https://review.whamcloud.com/46226
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: James Simmons <jsimmons@infradead.org>
Reviewed-by: Chris Horn <chris.horn@hpe.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lnet/klnds/gnilnd/gnilnd_cb.c

index 0c56311..59fb6e7 100644 (file)
@@ -1723,7 +1723,7 @@ kgnilnd_launch_tx(kgn_tx_t *tx, kgn_net_t *net, struct lnet_processid *target)
 
        CFS_RACE(CFS_FAIL_GNI_FIND_TARGET);
 
-       node_state = kgnilnd_get_node_state(ntohl(target->nid->nid_addr[0]));
+       node_state = kgnilnd_get_node_state(ntohl(target->nid.nid_addr[0]));
 
        /* NB - this will not block during normal operations -
         * the only writer of this is in the startup/shutdown path. */