]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
linuxkpi: Add kref_put_lock
authorEmmanuel Vadot <manu@FreeBSD.org>
Tue, 4 Aug 2020 14:44:16 +0000 (14:44 +0000)
committerEmmanuel Vadot <manu@FreeBSD.org>
Tue, 4 Aug 2020 14:44:16 +0000 (14:44 +0000)
commit7237a74f3b8f88abe74b03d78f272b104ab33a60
tree04ba7a777cfddba93ff8845d05204ad8d79b12fa
parent16fdd8b7ad2945520853dd149110796fb9e66120
linuxkpi: Add kref_put_lock

Same as kref_put but in addition to calling the rel function it will
acquire the lock first.

Sponsored by: The FreeBSD Foundation
Reviewed by: hselasky, emaste
Differential Revision: https://reviews.freebsd.org/D25942
sys/compat/linuxkpi/common/include/linux/kref.h