Skip to content
Commit 32ed5c00 authored by Jason Gunthorpe's avatar Jason Gunthorpe
Browse files

IB/uverbs: Make the write path destroy methods use the same flow as ioctl



The ridiculous dance with uobj_remove_commit() is not needed, the write
path can follow the same flow as ioctl - lock and destroy the HW object
then use the data left over in the uobject to form the response to
userspace.

Two helpers are introduced to make this flow straightforward for the
caller.

Signed-off-by: default avatarJason Gunthorpe <jgg@mellanox.com>
parent aa72c9a5
Loading
Loading
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