[PATCH RESEND v2 03/23] proc: share the readdir cursor with sysctl

sashiko-bot at kernel.org sashiko-bot at kernel.org
Thu Nov 5 11:35:17 PST 2026


> proc_readdir_de() and proc_sys_readdir() both resume a listing after
> the last entry it emitted and each remembers that entry in the open
> file with a cursor of its own: the same struct, the same way of
> setting it, the same release. Keep one in generic.c and let sysctl
> use it.
> 
> No functional changes.
> 
> Signed-off-by: Christian Brauner (Amutable) <brauner at kernel.org>

Sashiko has reviewed this patch and found no issues.

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20261104-work-procfs-core-v2-0-76ace653a773@kernel.org?part=3




More information about the kexec mailing list