Re: [PATCH v4 04/17] fs/kernel_read_file: Split into separate include file

From: James Morris
Date: Wed Jul 29 2020 - 22:23:05 EST


On Wed, 29 Jul 2020, Kees Cook wrote:

> From: Scott Branden <scott.branden@xxxxxxxxxxxx>
>
> Move kernel_read_file* out of linux/fs.h to its own linux/kernel_read_file.h
> include file. That header gets pulled in just about everywhere
> and doesn't really need functions not related to the general fs interface.
>
> Suggested-by: Christoph Hellwig <hch@xxxxxx>
> Signed-off-by: Scott Branden <scott.branden@xxxxxxxxxxxx>
> Reviewed-by: Christoph Hellwig <hch@xxxxxx>
> Acked-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
> Link: https://lore.kernel.org/r/20200706232309.12010-2-scott.branden@xxxxxxxxxxxx
> Reviewed-by: Mimi Zohar <zohar@xxxxxxxxxxxxx>
> Reviewed-by: Luis Chamberlain <mcgrof@xxxxxxxxxx>
> Signed-off-by: Kees Cook <keescook@xxxxxxxxxxxx>


Acked-by: James Morris <jamorris@xxxxxxxxxxxxxxxxxxx>


--
James Morris
<jmorris@xxxxxxxxx>