diff options
| author | aw148015 <Andrew.W.Wilson@sun.com> | 2009-02-11 09:31:16 -0800 |
|---|---|---|
| committer | aw148015 <Andrew.W.Wilson@sun.com> | 2009-02-11 09:31:16 -0800 |
| commit | 46c97f97ecb940ad28084dff5cb62f2f5f52d982 (patch) | |
| tree | 6f9f0a211d04466f9c986259f84f43a132224ae4 /usr/src/cmd/filebench/common/flowop.c | |
| parent | 2be0e98c7e87ac63355e91f70bfb97fa65c93254 (diff) | |
| download | illumos-gate-46c97f97ecb940ad28084dff5cb62f2f5f52d982.tar.gz | |
6708797 mutex lock failed: Lock is not recoverable
6720135 go_filebench core dumping in snv_89 on sparc
6765549 go_filebench is core dumping on snv_101
Diffstat (limited to 'usr/src/cmd/filebench/common/flowop.c')
| -rw-r--r-- | usr/src/cmd/filebench/common/flowop.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/usr/src/cmd/filebench/common/flowop.c b/usr/src/cmd/filebench/common/flowop.c index a6b3617e2b..6bbe470fa3 100644 --- a/usr/src/cmd/filebench/common/flowop.c +++ b/usr/src/cmd/filebench/common/flowop.c @@ -718,6 +718,7 @@ void flowop_delete_all(flowop_t **flowoplist) { flowop_t *flowop = *flowoplist; + flowop_t *next_flowop; (void) ipc_mutex_lock(&filebench_shm->shm_flowop_lock); @@ -730,8 +731,9 @@ flowop_delete_all(flowop_t **flowoplist) flowop = flowop->fo_exec_next; continue; } + next_flowop = flowop->fo_exec_next; flowop_delete(flowoplist, flowop); - flowop = flowop->fo_exec_next; + flowop = next_flowop; } (void) ipc_mutex_unlock(&filebench_shm->shm_flowop_lock); |
