Re: [PATCH] sysctl: Fix duplicate path separator in printed entries

From: Christian Brauner
Date: Fri Jan 07 2022 - 06:29:49 EST


On Fri, Jan 07, 2022 at 11:38:44AM +0100, Geert Uytterhoeven wrote:
> sysctl_print_dir() always terminates the printed path name with a slash,
> so printing a slash before the file part causes a duplicate like in
>
> sysctl duplicate entry: /kernel//perf_user_access
>
> Fix this by dropping the extra slash.
>
> Signed-off-by: Geert Uytterhoeven <geert+renesas@xxxxxxxxx>
> ---

Seems good,
Acked-by: Christian Brauner <christian.brauner@xxxxxxxxxx>