Skip to content
Commit f642404a authored by David Howells's avatar David Howells
Browse files

afs: Make vnode->cb_interest RCU safe



Use RCU-based freeing for afs_cb_interest struct objects and use RCU on
vnode->cb_interest.  Use that change to allow afs_check_validity() to use
read_seqbegin_or_lock() instead of read_seqlock_excl().

This also requires the caller of afs_check_validity() to hold the RCU read
lock across the call.

Signed-off-by: default avatarDavid Howells <dhowells@redhat.com>
parent c925bd0a
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment