diff options
| author | David Howells <dhowells@redhat.com> | 2026-06-22 10:08:45 +0100 |
|---|---|---|
| committer | Christian Brauner <brauner@kernel.org> | 2026-07-01 15:26:20 +0200 |
| commit | c9c3b615a462a4023bd148f02c564e175ed10502 (patch) | |
| tree | 0a2326eff97be286df4b88389d77427ff5c0f0f8 /rust/zerocopy/src/pointer/git@git.tavy.me:linux-stable.git | |
| parent | 2f79d1b93c62470fe02dbdc24770f1ae5a9e1be6 (diff) | |
afs: Fix misplaced inc of net->cells_outstanding
Fix net->cells_outstanding being incremented before the check for failure
of idr_alloc_cyclic(), leaving the count incremented on error.
Fixes: 88c853c3f5c0 ("afs: Fix cell refcounting by splitting the usage counter")
Reported-by: Hillf Danton <hdanton@sina.com>
Signed-off-by: David Howells <dhowells@redhat.com>
Link: https://patch.msgid.link/20260622090856.2746629-12-dhowells@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
