Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

treewide: fix synchronize_rcu() in comments

Signed-off-by: Jesper Dangaard Brouer <brouer@redhat.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>

authored by

Jesper Dangaard Brouer and committed by
Jiri Kosina
d7cdb968 208ad001

+2 -2
+1 -1
include/linux/percpu-refcount.h
··· 29 29 * calls io_destroy() or the process exits. 30 30 * 31 31 * 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 33 33 * the kioctx from the proccess's list of kioctxs - after that, there can't be 34 34 * any new users of the kioctx (from lookup_ioctx()) and it's then safe to drop 35 35 * the initial ref with percpu_ref_put().
+1 -1
net/rds/af_rds.c
··· 83 83 84 84 /* 85 85 * 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 87 87 * entry 88 88 */ 89 89 rds_remove_bound(rs);