Skip to content
Snippets Groups Projects
Commit 77f76013 authored by Ganapathi CH's avatar Ganapathi CH Committed by Roland Dreier
Browse files

IB/uverbs: Release lock on error path


If ibdev->alloc_ucontext() fails then ib_uverbs_get_context() does not
unlock file->mutex before returning error.

Signed-off by: Ganapathi CH <cganapathi@novell.com>
Signed-off-by: default avatarRoland Dreier <rolandd@cisco.com>
parent ca222c6b
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment