Messages in this thread | | | Date | Tue, 22 Feb 2022 07:20:46 -1000 | From | Tejun Heo <> | Subject | Re: [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
| |