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 about 2 years ago
- Status changed from Pending RTI to Closed
- % Done changed from 0 to 100
commit 2c6e2b378f8445b330094f0316685e546585f44d Author: Marcel Telka <firstname.lastname@example.org> Date: 2018-05-14T12:13:57.000Z 9520 list_link_replace(9f): Documentation does not match reality Reviewed by: Toomas Soome <email@example.com> Reviewed by: Yuri Pankov <firstname.lastname@example.org> Approved by: Dan McDonald <email@example.com>