list_link_replace(9f): Documentation does not match reality
manpage - manual pages
list_link_replace(9f) man page says:
The list_link_replace() function swaps two items on a list. Note that the items need not be on the same list, but extreme care must be used to ensure that both lists are protected from concurrent accesses and that the lists were initialized with identical size and offset parameters.
But the actual implementation just replaces
node1 on a list by an inactive (not yet on any list)
node1 out of the list.
Updated by Electric Monk over 1 year ago
- Status changed from Pending RTI to Closed
- % Done changed from 0 to 100
commit 2c6e2b378f8445b330094f0316685e546585f44d Author: Marcel Telka <email@example.com> Date: 2018-05-14T12:13:57.000Z 9520 list_link_replace(9f): Documentation does not match reality Reviewed by: Toomas Soome <firstname.lastname@example.org> Reviewed by: Yuri Pankov <email@example.com> Approved by: Dan McDonald <firstname.lastname@example.org>