[PATCH 2/2] afs: Fix access after dec in put functions

David Howells dhowells at redhat.com
Tue Aug 2 08:49:42 PDT 2022


Marc Dionne <marc.dionne at auristor.com> wrote:

> > -       trace_afs_server(server, r - 1, atomic_read(&server->active), reason);
> > +       trace_afs_server(server->debug_id, r - 1, a, reason);
> 
> Don't you also want to copy server->debug_id into a local variable here?

Bah.  Yes.

David




More information about the linux-afs mailing list