• David Howells's avatar
    afs: Make vnode->cb_interest RCU safe · f642404a
    David Howells authored
    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>
    f642404a
inode.c 21.1 KB