]> err.no Git - linux-2.6/commit
IB/uverbs: Don't decrement usecnt on error paths
authorRoland Dreier <rolandd@cisco.com>
Sun, 18 Jun 2006 03:37:40 +0000 (20:37 -0700)
committerRoland Dreier <rolandd@cisco.com>
Sun, 18 Jun 2006 03:37:40 +0000 (20:37 -0700)
commit92b1582268e269b3a9e54e186e740396f0f2012b
tree6dee998bb8c363ccecdf1f36f155875aea80cdc1
parent77f76013e3ffda605b20184db5862ce1efcb6f5a
IB/uverbs: Don't decrement usecnt on error paths

In error paths when destroying an object, uverbs should not decrement
associated objects' usecnt, since ib_dereg_mr(), ib_destroy_qp(),
etc. already do that.

Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/core/uverbs_cmd.c