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
b=13201
[fs/lustre-release.git]
/
lustre
/
ptlrpc
/
pinger.c
diff --git
a/lustre/ptlrpc/pinger.c
b/lustre/ptlrpc/pinger.c
index
fd5a000
..
b1995e6
100644
(file)
--- a/
lustre/ptlrpc/pinger.c
+++ b/
lustre/ptlrpc/pinger.c
@@
-86,7
+86,10
@@
static inline int ptlrpc_next_reconnect(struct obd_import *imp)
static atomic_t suspend_timeouts = ATOMIC_INIT(0);
static cfs_time_t suspend_wakeup_time = 0;
static atomic_t suspend_timeouts = ATOMIC_INIT(0);
static cfs_time_t suspend_wakeup_time = 0;
+
+#ifdef __KERNEL__
static wait_queue_head_t suspend_timeouts_waitq;
static wait_queue_head_t suspend_timeouts_waitq;
+#endif
cfs_time_t ptlrpc_suspend_wakeup_time(void)
{
cfs_time_t ptlrpc_suspend_wakeup_time(void)
{