Re: [PATCH v2] kernfs: remove an unused if statement in kernfs_path_from_node_locked()

From: Tejun Heo
Date: Mon Nov 28 2022 - 11:34:07 EST


On Sat, Nov 26, 2022 at 07:16:34PM +0800, Zhen Lei wrote:
> It makes no sense to call kernfs_path_from_node_locked() with NULL buf,
> and no one is doing that right now.
>
> Suggested-by: Tejun Heo <tj@xxxxxxxxxx>
> Signed-off-by: Zhen Lei <thunder.leizhen@xxxxxxxxxx>

Acked-by: Tejun Heo <tj@xxxxxxxxxx>

Thanks.

--
tejun