Re: [PATCH RFC 06/11] SUNRPC: let procfs own the seq_file of the cache content file

From: Chuck Lever

Date: Mon Nov 02 2026 - 17:00:25 EST




On Mon, Nov 2, 2026, at 10:07 AM, Christian Brauner wrote:
> Declare the seq_operations and let procfs open and free the seq_file of
> /proc/net/rpc/<cache>/content. ->proc_open() and ->proc_release() only
> take and drop the module reference and set up ->private now. The
> rpc_pipefs file is unchanged. Reading the procfs file then no longer
> holds up its removal when the network namespace goes away.
>
> Signed-off-by: Christian Brauner (Amutable) <brauner@xxxxxxxxxx>

Acked-by: Chuck Lever <cel@xxxxxxxxxx>


--
Chuck Lever (Come to NFS bake-a-thon! https://nfsv4bat.org)