]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
srcu: Fix s/they disables/they disable/ typo in srcu_read_unlock_fast()
authorPaul E. McKenney <paulmck@kernel.org>
Tue, 6 Jan 2026 18:28:10 +0000 (10:28 -0800)
committerJoel Fernandes <joelagnelf@nvidia.com>
Mon, 30 Mar 2026 19:48:13 +0000 (15:48 -0400)
Typo fix in srcu_read_unlock_fast() header comment.

Reported-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Reviewed-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Signed-off-by: Joel Fernandes <joelagnelf@nvidia.com>
include/linux/srcutree.h

index be76fa4fc1700c51bd625de7703b96f38459a39f..fd1a9270cb9a81cbd83af2f9a9ca4d3605c8b787 100644 (file)
@@ -260,7 +260,7 @@ static inline struct srcu_ctr __percpu *__srcu_ctr_to_ptr(struct srcu_struct *ss
  * srcu_read_unlock_fast().
  *
  * Note that both this_cpu_inc() and atomic_long_inc() are RCU read-side
- * critical sections either because they disables interrupts, because
+ * critical sections either because they disable interrupts, because
  * they are a single instruction, or because they are read-modify-write
  * atomic operations, depending on the whims of the architecture.
  * This matters because the SRCU-fast grace-period mechanism uses either