mirror of
https://github.com/torvalds/linux.git
synced 2026-10-07 05:31:08 -04:00
All other add functions for lists have the new item as first argument and the position where it is added as second argument. This was changed for no good reason in this function and makes using it unnecessary confusing. The name was changed to hlist_add_behind() to cause unconverted code to generate a compile error instead of using the wrong parameter order. [[email protected]: coding-style fixes] Signed-off-by: Ken Helias <[email protected]> Cc: "Paul E. McKenney" <[email protected]> Acked-by: Jeff Kirsher <[email protected]> [intel driver bits] Cc: Hugh Dickins <[email protected]> Cc: Christoph Hellwig <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>