aboutsummaryrefslogtreecommitdiff
path: root/scripts/generate_rust_analyzer.py
diff options
context:
space:
mode:
authorOleg Nesterov <[email protected]>2023-11-30 12:56:06 +0100
committerDavid Howells <[email protected]>2023-12-24 15:22:47 +0000
commit4121b4337146b64560d1e46ebec77196d9287802 (patch)
tree04cf3050db102dc438e917dcb6859c655e9a9d5f /scripts/generate_rust_analyzer.py
parent2daa6404fd2f00985d5bfeb3c161f4630b46b6bf (diff)
afs: fix the usage of read_seqbegin_or_lock() in afs_lookup_volume_rcu()
David Howells says: (2) afs_lookup_volume_rcu(). There can be a lot of volumes known by a system. A thousand would require a 10-step walk and this is drivable by remote operation, so I think this should probably take a lock on the second pass too. Make the "seq" counter odd on the 2nd pass, otherwise read_seqbegin_or_lock() never takes the lock. Signed-off-by: Oleg Nesterov <[email protected]> Signed-off-by: David Howells <[email protected]> cc: Marc Dionne <[email protected]> cc: [email protected] Link: https://lore.kernel.org/r/[email protected]/
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions