]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
fs/file: Replace synchronize_sched() with synchronize_rcu()
authorPaul E. McKenney <paulmck@linux.ibm.com>
Tue, 6 Nov 2018 01:31:31 +0000 (17:31 -0800)
committerPaul E. McKenney <paulmck@linux.ibm.com>
Tue, 27 Nov 2018 17:21:39 +0000 (09:21 -0800)
commitc93ffc15cceb057924410f9178e679120ee12353
tree965a3eb8921e6169a56c4c58062c4eede5f26470
parentcc69b389fd7bfcd14ade19e302a771f0234e9c85
fs/file: Replace synchronize_sched() with synchronize_rcu()

Now that synchronize_rcu() waits for preempt-disable regions of code
as well as RCU read-side critical sections, synchronize_sched() can be
replaced by synchronize_rcu().  This commit therefore makes this change.

Signed-off-by: Paul E. McKenney <paulmck@linux.ibm.com>
Cc: Alexander Viro <viro@zeniv.linux.org.uk>
Cc: <linux-fsdevel@vger.kernel.org>
fs/file.c