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-3467 target: generic hpreq handler in target
[fs/lustre-release.git]
/
lustre
/
ptlrpc
/
ptlrpc_internal.h
diff --git
a/lustre/ptlrpc/ptlrpc_internal.h
b/lustre/ptlrpc/ptlrpc_internal.h
index
5a2b2d9
..
2cb3a72
100644
(file)
--- a/
lustre/ptlrpc/ptlrpc_internal.h
+++ b/
lustre/ptlrpc/ptlrpc_internal.h
@@
-289,7
+289,7
@@
static inline int ll_rpc_recoverable_error(int rc)
return (rc == -ENOTCONN || rc == -ENODEV);
}
-#if
def HAVE_SERVER_SUPPORT
+#if
defined HAVE_SERVER_SUPPORT && defined(__KERNEL__)
int tgt_mod_init(void);
void tgt_mod_exit(void);
#else