Re: [PATCH v4 03/17] filelock: add struct delegated_inode

From: Christian Brauner

Date: Wed Nov 05 2025 - 07:19:54 EST


On Mon, Nov 03, 2025 at 07:52:31AM -0500, Jeff Layton wrote:
> The current API requires a pointer to an inode pointer. It's easy for
> callers to get this wrong. Add a new delegated_inode structure and use
> that to pass back any inode that needs to be waited on.
>
> Signed-off-by: Jeff Layton <jlayton@xxxxxxxxxx>
> ---

Yeah, I like this. I think this is a pretty obvious win.