Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 317768
b: refs/heads/master
c: 3045352
h: refs/heads/master
v: v3
  • Loading branch information
Xiao Guangrong authored and Greg Kroah-Hartman committed Jul 9, 2012
1 parent a8c858e commit a87842a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 47ec4ed2d23ff3a93f9f575295f17bdaf3d2cec9
refs/heads/master: 30453529bc17161fd863093ebf7a4bfce9820159
3 changes: 2 additions & 1 deletion trunk/drivers/staging/zcache/zcache-main.c
Original file line number Diff line number Diff line change
Expand Up @@ -946,8 +946,9 @@ static struct tmem_pool *zcache_get_pool_by_id(uint16_t cli_id, uint16_t poolid)
cli = &zcache_clients[cli_id];
if (cli == NULL)
goto out;
atomic_inc(&cli->refcount);
}

atomic_inc(&cli->refcount);
pool = idr_find(&cli->tmem_pools, poolid);
if (pool != NULL)
atomic_inc(&pool->refcount);
Expand Down

0 comments on commit a87842a

Please sign in to comment.