diff options
| author | Andy Grover <andy.grover@oracle.com> | 2010-01-12 23:37:17 +0300 |
|---|---|---|
| committer | Andy Grover <andy.grover@oracle.com> | 2010-09-09 05:11:35 +0400 |
| commit | 3ef13f3c22aaea28aff383cb0883481d24885456 (patch) | |
| tree | 2d7277a9401c5d47c0a42d5de3e27f1df042da6b /include/linux | |
| parent | e779137aa76d38d5c33a98ed887092ae4e4f016f (diff) | |
| download | linux-3ef13f3c22aaea28aff383cb0883481d24885456.tar.xz | |
RDS: cleanup/fix rds_rdma_unuse
First, it looks to me like the atomic_inc is wrong.
We should be decrementing refcount only once here, no? It's
already being done by the mr_put() at the end.
Second, simplify the logic a bit by bailing early (with a warning)
if !mr.
Signed-off-by: Andy Grover <andy.grover@oracle.com>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
