Re: [PATCH v3 5/6] KEYS: Replace assoc_array with rhashtable
From: Jarkko Sakkinen
Date: Mon Oct 26 2026 - 22:58:51 EST
On Mon, Oct 26, 2026 at 06:29:52PM -0700, Eric Biggers wrote:
> How about replacing 'struct keyring_link *edit[2]' with a named struct?
> It's kind of hard to remember what [0] and [1] are.
I'll look go through rest of the comments later but since it is two vs
one with using named struct (David propose named struct) let's go with
that.
I.e., along the lines of:
struct keyring_edit {
struct keyring_link *new;
struct keyring_link *old;
};
>
> - Eric
Br, Jarkko