Skip to content

Commit d7cdb96

Browse files
netoptimizerJiri Kosina
authored andcommitted
treewide: fix synchronize_rcu() in comments
Signed-off-by: Jesper Dangaard Brouer <brouer@redhat.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
1 parent 208ad00 commit d7cdb96

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎include/linux/percpu-refcount.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
* calls io_destroy() or the process exits.
3030
*
3131
* In the aio code, kill_ioctx() is called when we wish to destroy a kioctx; it
32-
* calls percpu_ref_kill(), then hlist_del_rcu() and sychronize_rcu() to remove
32+
* calls percpu_ref_kill(), then hlist_del_rcu() and synchronize_rcu() to remove
3333
* the kioctx from the proccess's list of kioctxs - after that, there can't be
3434
* any new users of the kioctx (from lookup_ioctx()) and it's then safe to drop
3535
* the initial ref with percpu_ref_put().

‎net/rds/af_rds.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ static int rds_release(struct socket *sock)
8383

8484
/*
8585
* the binding lookup hash uses rcu, we need to
86-
* make sure we sychronize_rcu before we free our
86+
* make sure we synchronize_rcu before we free our
8787
* entry
8888
*/
8989
rds_remove_bound(rs);

0 commit comments

Comments
 (0)