[PATCH] Don't allow unreferencing linked object.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 13 May 2016, at 08:09 PM, Juho Hämäläinen wrote:
> Sink(-input) and source(-output) called unlink function when reference
> count dropped to zero. This would result in unlink hooks being called
> with object that would have zero reference count. Some of the modules
> for example already have asserts checking for proper refcount. As the
> asserts from these modules are seemingly rare, better to just remove
> the redundant unlinking code from sink(-input) and source(-output) and
> assert on reference count in unlink functions as well.
> 
> Well behaving code if owner of said object should always unlink the
> object
> before unreferencing.
> ---

Pushing this to next now with some minor rewording of the commit
message.

Thanks,
Arun


[Index of Archives]     [Linux Audio Users]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux