From: Jack Morgenstein Date: Sat, 7 Jan 2006 00:43:14 +0000 (-0800) Subject: IB/uverbs: Release event file reference on ib_uverbs_create_cq() error X-Git-Tag: v2.6.16-rc1~678^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ac4e7b35579de55db50d602a472858867808a9c3;p=pandora-kernel.git 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 Signed-off-by: Roland Dreier --- Reading git-diff-tree failed