projects
/
fio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
37f0c1a
)
client: dec sum_stat_clients if one a client is disconnected
author
Jens Axboe
<axboe@kernel.dk>
Tue, 11 Oct 2011 12:20:22 +0000
(14:20 +0200)
committer
Jens Axboe
<axboe@kernel.dk>
Tue, 11 Oct 2011 12:20:22 +0000
(14:20 +0200)
Signed-off-by: Jens Axboe <axboe@kernel.dk>
client.c
patch
|
blob
|
blame
|
history
diff --git
a/client.c
b/client.c
index c40511ebe553b3b0f5dd8079bdbb4c072a2c4140..31b4862775eb159775d2fa784a28a9032cc600f6 100644
(file)
--- a/
client.c
+++ b/
client.c
@@
-137,6
+137,7
@@
static void remove_client(struct fio_client *client)
free(client);
nr_clients--;
free(client);
nr_clients--;
+ sum_stat_clients--;
}
static void __fio_client_add_cmd_option(struct fio_client *client,
}
static void __fio_client_add_cmd_option(struct fio_client *client,