X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=lustre%2Fptlrpc%2Fpinger.c;h=b1995e6c6c30c800cb7364158511c6ed91962541;hp=fd5a0007702c5e54cff8d347d8db11b047ab3715;hb=b11d0d89b22e8409cac12129a80044f84df0023c;hpb=a56b6687b68421b032b333c1e95a45950f7b625c diff --git a/lustre/ptlrpc/pinger.c b/lustre/ptlrpc/pinger.c index fd5a000..b1995e6 100644 --- 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; + +#ifdef __KERNEL__ static wait_queue_head_t suspend_timeouts_waitq; +#endif cfs_time_t ptlrpc_suspend_wakeup_time(void) {