On Thu, Jun 11, 2015 at 03:56:50PM +0300, Yishai Hadas wrote:
>
> - file->async_file = filp->private_data;
> -
> - INIT_IB_EVENT_HANDLER(&file->event_handler, file->device->ib_dev,
> - ib_uverbs_event_handler);
> - ret = ib_register_event_handler(&file->event
Fix the reference counting usage to be handled in the event file
creation/destruction function, instead of being done by the caller.
This is done for both async/non-async event files.
Based on Jason Gunthorpe report at https://www.mail-archive.com/
linux-rdma@vger.kernel.org/msg24680.html:
"The ex