summaryrefslogtreecommitdiff
path: root/rust/zerocopy/src/pointer/git@git.tavy.me:linux-stable.git
diff options
context:
space:
mode:
authorLi RongQing <lirongqing@baidu.com>2026-06-22 10:08:42 +0100
committerChristian Brauner <brauner@kernel.org>2026-07-01 15:26:20 +0200
commita58edda50a3ec08e6adac1d04dc3e488494e412d (patch)
tree27de1d389ace3990f3981d37209a3d4fcc054628 /rust/zerocopy/src/pointer/git@git.tavy.me:linux-stable.git
parentcb39654926f8e7a08ecc1dcb3941628855275940 (diff)
afs: Remove erroneous seq |= 1 in volume lookup loop
The `seq |= 1` operation in the volume lookup loop is incorrect because: seq is already incremented at start, making it odd in next iteration which triggers lock, but The `|= 1` operation causes seq to be even and unintended lockless operation Remove this erroneous operation to maintain proper lock sequencing. Fixes: 32222f09782f ("afs: Apply server breaks to mmap'd files in the call processor") Signed-off-by: Li RongQing <lirongqing@baidu.com> Signed-off-by: David Howells <dhowells@redhat.com> Link: https://patch.msgid.link/20260622090856.2746629-9-dhowells@redhat.com Reviewed-by: Oleg Nesterov <oleg@redhat.com> cc: Marc Dionne <marc.dionne@auristor.com> cc: linux-afs@lists.infradead.org Signed-off-by: Christian Brauner (Amutable) <brauner@kernel.org>
Diffstat (limited to 'rust/zerocopy/src/pointer/git@git.tavy.me:linux-stable.git')
0 files changed, 0 insertions, 0 deletions