Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
LU-10391 obdclass: change class_match_nid to take lnet_nid
[fs/lustre-release.git]
/
lustre
/
target
/
tgt_mount.c
diff --git
a/lustre/target/tgt_mount.c
b/lustre/target/tgt_mount.c
index
5ad7670
..
9e99b94
100644
(file)
--- a/
lustre/target/tgt_mount.c
+++ b/
lustre/target/tgt_mount.c
@@
-1178,8
+1178,7
@@
static int server_lsi2mti(struct lustre_sb_info *lsi,
*/
if ((lsi->lsi_lmd->lmd_flags & LMD_FLG_NO_PRIMNODE) != 0 &&
class_match_nid(lsi->lsi_lmd->lmd_params,
- PARAM_FAILNODE,
- lnet_nid_to_nid4(&id.nid)) < 1)
+ PARAM_FAILNODE, &id.nid) < 1)
continue;
if (!class_find_param(lsi->lsi_lmd->lmd_params,