commit | ac4e7b35579de55db50d602a472858867808a9c3 | [log] [tgz] |
---|---|---|
author | Jack Morgenstein <jackm@mellanox.co.il> | Fri Jan 06 16:43:14 2006 -0800 |
committer | Roland Dreier <rolandd@cisco.com> | Fri Jan 06 16:43:14 2006 -0800 |
tree | 09680302ee8c821bdea085af19d1d3b50ebcb4a9 | |
parent | ea5d4a6ad2bfd1006790666981645cab43d3afbd [diff] |
IB/uverbs: Release event file reference on ib_uverbs_create_cq() error ib_uverbs_create_cq() should release the completion channel event file if an error occurs after it looks it up. Also, if userspace asks for a completion channel and we don't find it, an error should be returned instead of silently creating a CQ without a completion channel. Signed-off-by: Jack Morgenstein <jackm@mellanox.co.il> Signed-off-by: Roland Dreier <rolandd@cisco.com>