rcu: Remove rcu_swap_protected()
authorPaul E. McKenney <paulmck@kernel.org>
Mon, 23 Sep 2019 23:31:42 +0000 (16:31 -0700)
committerPaul E. McKenney <paulmck@kernel.org>
Thu, 12 Dec 2019 18:24:52 +0000 (10:24 -0800)
commit4414abf89158d734a83c99f6504f648417bd9550
treec8ee58efe478b6cfdcf92c9fea0837eb0cdc3d29
parenta191c9e9f73a78e8801b5eeb3d43bbd6fd73b86f
rcu: Remove rcu_swap_protected()

Now that the calls to rcu_swap_protected() have been replaced by
rcu_replace_pointer(), this commit removes rcu_swap_protected().

Link: https://lore.kernel.org/lkml/CAHk-=wiAsJLw1egFEE=Z7-GGtM6wcvtyytXZA1+BHqta4gg6Hw@mail.gmail.com/
Reported-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Cc: Bart Van Assche <bart.vanassche@wdc.com>
Cc: Christoph Hellwig <hch@lst.de>
Cc: Hannes Reinecke <hare@suse.de>
Cc: Johannes Thumshirn <jthumshirn@suse.de>
Cc: Shane M Seymour <shane.seymour@hpe.com>
Cc: Martin K. Petersen <martin.petersen@oracle.com>
include/linux/rcupdate.h