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

From: David Howells
Date: Tue Aug 02 2022 - 11:50:02 EST


Marc Dionne <marc.dionne@xxxxxxxxxxxx> 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