projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'master' into gfio
[fio.git]
/
client.c
diff --git
a/client.c
b/client.c
index 0da4f47a5b24f7eea6d9f2f2613c2ef2005c1ccc..e64b3f08e8a8b88be4b95ca665dedd4d66e776b8 100644
(file)
--- a/
client.c
+++ b/
client.c
@@
-90,8
+90,10
@@
static struct fio_client *find_client_by_fd(int fd)
flist_for_each(entry, &client_hash[bucket]) {
client = flist_entry(entry, struct fio_client, hash_list);
- if (client->fd == fd)
- return fio_get_client(client);
+ if (client->fd == fd) {
+ client->refs++;
+ return client;
+ }
}
return NULL;