]> www.infradead.org Git - users/jedix/linux-maple.git/commit
proc: stop using seq_get_buf in proc_task_name
authorChristoph Hellwig <hch@lst.de>
Mon, 23 Aug 2021 23:59:51 +0000 (09:59 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 25 Aug 2021 23:34:39 +0000 (09:34 +1000)
commitea82408797a634f5b1a5482ca38108487eb36393
treef6fe66ac4d93485c9c6a4ac40e419f03d7a40ab4
parent4b50d7a0ab0535e2c62f8f3e65a81c04da20bda2
proc: stop using seq_get_buf in proc_task_name

Use seq_escape_str and seq_printf instead of poking holes into the
seq_file abstraction.

Link: https://lkml.kernel.org/r/20210810151945.1795567-1-hch@lst.de
Signed-off-by: Christoph Hellwig <hch@lst.de>
Acked-by: Christian Brauner <christian.brauner@ubuntu.com>
Cc: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
fs/proc/array.c