]> Git Repo - linux.git/commit - net/xfrm/xfrm_policy.c
list: fix order of arguments for hlist_add_after(_rcu)
authorKen Helias <[email protected]>
Wed, 6 Aug 2014 23:09:16 +0000 (16:09 -0700)
committerLinus Torvalds <[email protected]>
Thu, 7 Aug 2014 01:01:24 +0000 (18:01 -0700)
commit1d023284c31a4e40a94d5bbcb7dbb7a35ee0bcbc
tree24b0b38fbd227873f771ebca55cba8b595bb6c57
parentbc18dd335a161f9229ed3aaab88ce0706cbd9867
list: fix order of arguments for hlist_add_after(_rcu)

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]>
15 files changed:
Documentation/RCU/whatisRCU.txt
drivers/gpu/drm/drm_hashtab.c
drivers/net/ethernet/intel/i40e/i40e_ethtool.c
drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c
drivers/staging/lustre/lustre/libcfs/hash.c
fs/namespace.c
fs/notify/inode_mark.c
fs/notify/vfsmount_mark.c
include/linux/list.h
include/linux/rculist.h
net/batman-adv/fragmentation.c
net/bridge/br_multicast.c
net/ipv4/fib_trie.c
net/ipv6/addrlabel.c
net/xfrm/xfrm_policy.c
This page took 0.065346 seconds and 4 git commands to generate.