[PATCH 10/21] Remove redundant thread_stop_indicate() before thread_stop_wait()
Valerie Aurora
val at versity.com
Tue Feb 11 13:19:07 PST 2025
thread_stop_wait() already does a thread_stop_indicate() first thing,
no need to do it twice.
Signed-off-by: Valerie Aurora <val at versity.com>
---
cli/debugfs.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/cli/debugfs.c b/cli/debugfs.c
index d2895ea..b134026 100644
--- a/cli/debugfs.c
+++ b/cli/debugfs.c
@@ -262,7 +262,6 @@ static int debugfs_func(int argc, char **argv)
ret = thread_start(&thr, debugfs_thread, &ctx) ?:
thread_sigwait();
- thread_stop_indicate(&thr);
thread_stop_wait(&thr);
ngnfs_unmount(&nfi);
thread_finish_main();
--
2.48.1
More information about the ngnfs-devel
mailing list