diff options
author | David Howells <dhowells@redhat.com> | 2019-05-13 17:14:32 +0200 |
---|---|---|
committer | David Howells <dhowells@redhat.com> | 2019-05-16 23:23:21 +0200 |
commit | f642404a0436a50912c218009ccc7856d48d784c (patch) | |
tree | ddf39d1741f07866333581e66f1abc0e6709d453 /fs/file_table.c | |
parent | afs: Split afs_validate() so first part can be used under LOOKUP_RCU (diff) | |
download | linux-f642404a0436a50912c218009ccc7856d48d784c.tar.xz linux-f642404a0436a50912c218009ccc7856d48d784c.zip |
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>
Diffstat (limited to 'fs/file_table.c')
0 files changed, 0 insertions, 0 deletions