Skip to content
Commit 2c96eb7d authored by Jason Gunthorpe's avatar Jason Gunthorpe
Browse files

IB/uverbs: Always propagate errors from rdma_alloc_commit_uobject()



The ioctl framework already does this correctly, but the write path did
not. This is trivially fixed by simply using a standard pattern to return
uobj_alloc_commit() as the last statement in every function.

Signed-off-by: default avatarJason Gunthorpe <jgg@mellanox.com>
parent e951747a
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment