aboutsummaryrefslogtreecommitdiffstats
path: root/net/rds/rds.h
diff options
context:
space:
mode:
authorAndy Grover <andy.grover@oracle.com>2010-01-12 12:37:17 -0800
committerAndy Grover <andy.grover@oracle.com>2010-09-08 18:11:35 -0700
commit3ef13f3c22aaea28aff383cb0883481d24885456 (patch)
tree2d7277a9401c5d47c0a42d5de3e27f1df042da6b /net/rds/rds.h
parentRDS: break out rdma and data ops into nested structs in rds_message (diff)
downloadlinux-dev-3ef13f3c22aaea28aff383cb0883481d24885456.tar.xz
linux-dev-3ef13f3c22aaea28aff383cb0883481d24885456.zip
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 'net/rds/rds.h')
0 files changed, 0 insertions, 0 deletions