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-8130 obd: convert obd uuid hash to rhashtable
[fs/lustre-release.git]
/
lustre
/
obdclass
/
obd_mount_server.c
diff --git
a/lustre/obdclass/obd_mount_server.c
b/lustre/obdclass/obd_mount_server.c
index
4083215
..
d3ec2f8
100644
(file)
--- a/
lustre/obdclass/obd_mount_server.c
+++ b/
lustre/obdclass/obd_mount_server.c
@@
-419,7
+419,7
@@
int lustre_register_lwp_item(const char *lwpname, struct obd_export **exp,
RETURN(-ENOMEM);
}
memcpy(uuid->uuid, lwpname, strlen(lwpname));
- *exp =
cfs_hash_lookup(lwp->obd_uuid_hash
, uuid);
+ *exp =
obd_uuid_lookup(lwp
, uuid);
OBD_FREE_PTR(uuid);
}