lkml.org 
[lkml]   [2022]   [Feb]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] kernfs: move struct kernfs_root out of the public view.
On Tue, Feb 22, 2022 at 08:07:13AM +0100, Greg Kroah-Hartman wrote:
> There is no need to have struct kernfs_root be part of kernfs.h for
> the whole kernel to see and poke around it. Move it internal to kernfs
> code and provide a helper function, kernfs_root_to_node(), to handle the
> one field that kernfs users were directly accessing from the structure.
>
> Cc: Tejun Heo <tj@kernel.org>
> Cc: Imran Khan <imran.f.khan@oracle.com>
> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

Acked-by: Tejun Heo <tj@kernel.org>

Thanks.

--
tejun

\
 
 \ /
  Last update: 2022-02-22 18:21    [W:0.043 / U:0.288 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site