diff options
author | Paul E. McKenney <[email protected]> | 2019-10-04 15:07:09 -0700 |
---|---|---|
committer | Paul E. McKenney <[email protected]> | 2019-10-30 08:45:57 -0700 |
commit | a60a5746004d7dbb68cbccd4c16d0529e2b2d1d9 (patch) | |
tree | a98e2179e735ebc2f18e9ad7a728833c2ef46eba /security/selinux/hooks.c | |
parent | 445d3749315f34229dcfc3efd82796f97fc72e92 (diff) |
security/safesetid: Replace rcu_swap_protected() with rcu_replace_pointer()
This commit replaces the use of rcu_swap_protected() with the more
intuitively appealing rcu_replace_pointer() as a step towards removing
rcu_swap_protected().
Link: https://lore.kernel.org/lkml/CAHk-=wiAsJLw1egFEE=Z7-GGtM6wcvtyytXZA1+BHqta4gg6Hw@mail.gmail.com/
Reported-by: Linus Torvalds <[email protected]>
Reported-by: Reported-by: kbuild test robot <[email protected]>
[ paulmck: From rcu_replace() to rcu_replace_pointer() per Ingo Molnar. ]
Signed-off-by: Paul E. McKenney <[email protected]>
Cc: Micah Morton <[email protected]>
Cc: James Morris <[email protected]>
Cc: "Serge E. Hallyn" <[email protected]>
Cc: <[email protected]>
Diffstat (limited to 'security/selinux/hooks.c')
0 files changed, 0 insertions, 0 deletions