Re: [PATCH printk-rework 12/14] printk: kmsg_dump: remove _nolock() variants

From: Petr Mladek
Date: Tue Feb 23 2021 - 06:54:04 EST


On Thu 2021-02-18 09:18:15, John Ogness wrote:
> kmsg_dump_rewind() and kmsg_dump_get_line() are lockless, so there is
> no need for _nolock() variants. Remove these functions and switch all
> callers of the _nolock() variants.
>
> The functions without _nolock() were chosen because they are already
> exported to kernel modules.
>
> Signed-off-by: John Ogness <john.ogness@xxxxxxxxxxxxx>

Reviewed-by: Petr Mladek <pmladek@xxxxxxxx>

Best Regards,
Petr