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-15420 build: fixes to support building on Ubuntu 22.04 LTS
[fs/lustre-release.git]
/
lustre
/
target
/
update_trans.c
diff --git
a/lustre/target/update_trans.c
b/lustre/target/update_trans.c
index
b7ab00c
..
aa13f94
100644
(file)
--- a/
lustre/target/update_trans.c
+++ b/
lustre/target/update_trans.c
@@
-1608,7
+1608,7
@@
static int distribute_txn_commit_thread(void *_arg)
top_multiple_thandle_put(tmt);
}
- if (
current->state
)
+ if (
!task_is_running(current)
)
schedule();
if (OBD_FAIL_PRECHECK(OBD_FAIL_OUT_OBJECT_MISS)) {