Skip to content

Commit

Permalink
treewide: fix synchronize_rcu() in comments
Browse files Browse the repository at this point in the history
Signed-off-by: Jesper Dangaard Brouer <brouer@redhat.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
  • Loading branch information
Jesper Dangaard Brouer authored and Jiri Kosina committed Aug 28, 2014
1 parent 208ad00 commit d7cdb96
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion include/linux/percpu-refcount.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
* calls io_destroy() or the process exits.
*
* In the aio code, kill_ioctx() is called when we wish to destroy a kioctx; it
* calls percpu_ref_kill(), then hlist_del_rcu() and sychronize_rcu() to remove
* calls percpu_ref_kill(), then hlist_del_rcu() and synchronize_rcu() to remove
* the kioctx from the proccess's list of kioctxs - after that, there can't be
* any new users of the kioctx (from lookup_ioctx()) and it's then safe to drop
* the initial ref with percpu_ref_put().
Expand Down
2 changes: 1 addition & 1 deletion net/rds/af_rds.c
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ static int rds_release(struct socket *sock)

/*
* the binding lookup hash uses rcu, we need to
* make sure we sychronize_rcu before we free our
* make sure we synchronize_rcu before we free our
* entry
*/
rds_remove_bound(rs);
Expand Down

0 comments on commit d7cdb96

Please sign in to comment.