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-14291 ptlrpc: support nrs_delay for client-only builds
[fs/lustre-release.git]
/
lustre
/
ptlrpc
/
nrs.c
diff --git
a/lustre/ptlrpc/nrs.c
b/lustre/ptlrpc/nrs.c
index
52d3225
..
102d2e8
100644
(file)
--- a/
lustre/ptlrpc/nrs.c
+++ b/
lustre/ptlrpc/nrs.c
@@
-1813,11
+1813,11
@@
int ptlrpc_nrs_init(void)
rc = ptlrpc_nrs_policy_register(&nrs_conf_tbf);
if (rc != 0)
GOTO(fail, rc);
+#endif /* HAVE_SERVER_SUPPORT */
rc = ptlrpc_nrs_policy_register(&nrs_conf_delay);
if (rc != 0)
GOTO(fail, rc);
-#endif /* HAVE_SERVER_SUPPORT */
RETURN(rc);
fail: