commit | f642404a0436a50912c218009ccc7856d48d784c | [log] [tgz] |
---|---|---|
author | David Howells <dhowells@redhat.com> | Mon May 13 16:14:32 2019 +0100 |
committer | David Howells <dhowells@redhat.com> | Thu May 16 22:23:21 2019 +0100 |
tree | ddf39d1741f07866333581e66f1abc0e6709d453 | |
parent | c925bd0ac4741badb567f594c41c8cba5e9e9732 [diff] |
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: David Howells <dhowells@redhat.com>