doc/rcu: fix g_free_rcu() usage example
commit9bda456e419273199221625894003bf9307d8451
authorSergey Fedorov <serge.fdrv@gmail.com>
Wed, 14 Oct 2015 15:46:44 +0000 (14 18:46 +0300)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 19 Oct 2015 08:13:07 +0000 (19 10:13 +0200)
tree498dd2f38dfa12e59ac6dd93206a143e66f3b0bf
parent1c3af0f4f04bd6e6729783a48bb51ca1eb5c3baf
doc/rcu: fix g_free_rcu() usage example

The first argument of g_free_rcu() is a pointer to a structure.  But
foo_reclaim is used as a function name in the previous example along
with &foo as a pointer to the structure being reclaimed.  Make the
example consistent with the previous one.

Signed-off-by: Sergey Fedorov <serge.fdrv@gmail.com>
Message-Id: <1444837604-13712-1-git-send-email-serge.fdrv@gmail.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
docs/rcu.txt