firewire: cdev: reference-count client instances
The lifetime of struct client instances must be longer than the lifetime of any client resource. This fixes a possible race between fw_device_op_release and transaction completions. It also prepares for new ioctls for isochronous resource management which will involve delayed processing of client resources. Signed-off-by: NStefan Richter <stefanr@s5r6.in-berlin.de> Reviewed-by: NDavid Moore <dcm@acm.org>
Showing
想要评论请 注册 或 登录