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-5695 libcfs: watchdog dispatch thread fix
[fs/lustre-release.git]
/
libcfs
/
libcfs
/
watchdog.c
diff --git
a/libcfs/libcfs/watchdog.c
b/libcfs/libcfs/watchdog.c
index
4f18e3c
..
524b4b5
100644
(file)
--- a/
libcfs/libcfs/watchdog.c
+++ b/
libcfs/libcfs/watchdog.c
@@
-335,6
+335,7
@@
static void lcw_dispatch_stop(void)
wake_up(&lcw_event_waitq);
wait_for_completion(&lcw_stop_completion);
wake_up(&lcw_event_waitq);
wait_for_completion(&lcw_stop_completion);
+ clear_bit(LCW_FLAG_STOP, &lcw_flags);
CDEBUG(D_INFO, "watchdog dispatcher has shut down.\n");
CDEBUG(D_INFO, "watchdog dispatcher has shut down.\n");