Re: [PATCH RESEND v2 5/6] proc: drop the _buf suffix from the new methods

From
Geert Uytterhoeven <geert@linux-m68k.org>
Date
2026-11-05 10:02:11
Also in
dri-devel, kexec, linux-m68k, linux-raid, linux-s390, lkml
Reply to
Christian Brauner, 2026-11-04
On Wed, 4 Nov 2026 at 22:16, Christian Brauner [off-list ref] wrote:
The _buf suffix told them apart from ->proc_write(), ->proc_read() and
->proc_ioctl(), which copied to and from userspace themselves. Those
are gone now. So drop the suffix. ->proc_write(), ->proc_read() and
->proc_ioctl() are the methods that work on procfs' buffers from now
on, which is what kernfs calls its read and write as well.

Done with sed. The flags and helpers in fs/proc that go with them are
renamed to match.

No functional changes.

Signed-off-by: Christian Brauner (Amutable) <brauner@kernel.org>
 arch/m68k/kernel/bootinfo_proc.c                   |  2 +-
 drivers/zorro/proc.c                               |  2 +-
Acked-by: Geert Uytterhoeven <geert@linux-m68k.org> # m68k/zorro

Gr{oetje,eeting}s,

                        Geert

-- 
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds
Thread (217 messages) 217 messages, 11 authors, last reply 18d ago
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help