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
cleanup usage obd_set_info_async, obd_get_info.
[fs/lustre-release.git]
/
lustre
/
ptlrpc
/
import.c
diff --git
a/lustre/ptlrpc/import.c
b/lustre/ptlrpc/import.c
index
869c56a
..
345b2b6
100644
(file)
--- a/
lustre/ptlrpc/import.c
+++ b/
lustre/ptlrpc/import.c
@@
-489,7
+489,7
@@
int ptlrpc_connect_import(struct obd_import *imp, char *new_uuid)
/* Don't retry if connect fails */
rc = 0;
obd_set_info_async(obd->obd_self_export,
- s
trlen
(KEY_INIT_RECOV),
+ s
izeof
(KEY_INIT_RECOV),
KEY_INIT_RECOV,
sizeof(rc), &rc, NULL);
}