]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Implement idr_is_empty() in the LinuxKPI and make idr_remove() API compatible
authorhselasky <hselasky@FreeBSD.org>
Thu, 31 May 2018 12:35:21 +0000 (12:35 +0000)
committerhselasky <hselasky@FreeBSD.org>
Thu, 31 May 2018 12:35:21 +0000 (12:35 +0000)
commit70dc9766535edda36c038e2c200fa611f754abba
treece35d8838f6a8dcab8b6a542309a07f8fed72e29
parent99644cdbc42977f634b5cb0ac55f34eb7e7fe996
Implement idr_is_empty() in the LinuxKPI and make idr_remove() API compatible
with upstream Linux by returning the pointer to the removed element.

Submitted by: Johannes Lundberg <johalun0@gmail.com>
MFC after: 1 week
Sponsored by: Mellanox Technologies
sys/compat/linuxkpi/common/include/linux/idr.h
sys/compat/linuxkpi/common/src/linux_idr.c