Skip to content
This repository was archived by the owner on Nov 21, 2022. It is now read-only.

Commit 95ebe80

Browse files
committed
srcu: Fix s/is/if/ typo in srcu_node comment
This commit fixed a typo in the srcu_node structure's ->srcu_have_cbs comment. While in the area, redo a couple of comments to take advantage of 100-character line lengths. Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
1 parent 8ed0076 commit 95ebe80

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

include/linux/srcutree.h

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -47,11 +47,9 @@ struct srcu_data {
4747
*/
4848
struct srcu_node {
4949
spinlock_t __private lock;
50-
unsigned long srcu_have_cbs[4]; /* GP seq for children */
51-
/* having CBs, but only */
52-
/* is > ->srcu_gq_seq. */
53-
unsigned long srcu_data_have_cbs[4]; /* Which srcu_data structs */
54-
/* have CBs for given GP? */
50+
unsigned long srcu_have_cbs[4]; /* GP seq for children having CBs, but only */
51+
/* if greater than ->srcu_gq_seq. */
52+
unsigned long srcu_data_have_cbs[4]; /* Which srcu_data structs have CBs for given GP? */
5553
unsigned long srcu_gp_seq_needed_exp; /* Furthest future exp GP. */
5654
struct srcu_node *srcu_parent; /* Next up in tree. */
5755
int grplo; /* Least CPU for node. */

0 commit comments

Comments
 (0)