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-957 scrub: Ancillary work for LFSCK/OI scrub
[fs/lustre-release.git]
/
lustre
/
include
/
lustre_net.h
diff --git
a/lustre/include/lustre_net.h
b/lustre/include/lustre_net.h
index
3cecb0a
..
d57a325
100644
(file)
--- a/
lustre/include/lustre_net.h
+++ b/
lustre/include/lustre_net.h
@@
-986,6
+986,11
@@
struct ptlrpc_thread {
struct lu_env *t_env;
};
+static inline int thread_is_init(struct ptlrpc_thread *thread)
+{
+ return thread->t_flags == 0;
+}
+
static inline int thread_is_stopped(struct ptlrpc_thread *thread)
{
return !!(thread->t_flags & SVC_STOPPED);