summaryrefslogtreecommitdiff
path: root/usr/src/cmd/filebench/common/threadflow.c
diff options
context:
space:
mode:
authoraw148015 <Andrew.W.Wilson@sun.com>2009-01-26 09:32:31 -0800
committeraw148015 <Andrew.W.Wilson@sun.com>2009-01-26 09:32:31 -0800
commit4432feae5fd55150d54ce309a84a0a321b4d5449 (patch)
tree47c44a6b0775df40dc750359bd6ee22c218c2041 /usr/src/cmd/filebench/common/threadflow.c
parentedd20d23d143338b5e74d55a15257d4cccac7523 (diff)
downloadillumos-joyent-4432feae5fd55150d54ce309a84a0a321b4d5449.tar.gz
6792062 FileBench needs work to allow plug-in file system clients
Diffstat (limited to 'usr/src/cmd/filebench/common/threadflow.c')
-rw-r--r--usr/src/cmd/filebench/common/threadflow.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/usr/src/cmd/filebench/common/threadflow.c b/usr/src/cmd/filebench/common/threadflow.c
index 0d903cb367..f723cc23af 100644
--- a/usr/src/cmd/filebench/common/threadflow.c
+++ b/usr/src/cmd/filebench/common/threadflow.c
@@ -19,7 +19,7 @@
* CDDL HEADER END
*/
/*
- * Copyright 2008 Sun Microsystems, Inc. All rights reserved.
+ * Copyright 2009 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*
* Portions Copyright 2008 Denis Cheng
@@ -314,10 +314,11 @@ threadflow_delete(threadflow_t **threadlist, threadflow_t *threadflow,
void
threadflow_delete_all(threadflow_t **threadlist, int wait_cnt)
{
- threadflow_t *threadflow = *threadlist;
+ threadflow_t *threadflow;
(void) ipc_mutex_lock(&filebench_shm->shm_threadflow_lock);
+ threadflow = *threadlist;
filebench_log(LOG_DEBUG_IMPL, "Deleting all threads");
while (threadflow) {