# Re: \[PATCH v4 04/17\] fs/kernel\_read\_file: Split into separate include file

- From: James Morris \<jmorris@namei.org\>
- Date: 2020-07-30 02:23:05 
- List: linux-integrity
- Page: https://ratatoskr.run/linux-integrity/2020/07/6054875
- Thread: https://ratatoskr.run/linux-efi/2020/07/6054513/t.md

```text
On Wed, 29 Jul 2020, Kees Cook wrote:

> From: Scott Branden <scott.branden@broadcom.com>
> 
> 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@lst.de>
> Signed-off-by: Scott Branden <scott.branden@broadcom.com>
> Reviewed-by: Christoph Hellwig <hch@lst.de>
> Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
> Link: https://lore.kernel.org/r/20200706232309.12010-2-scott.branden@broadcom.com
> Reviewed-by: Mimi Zohar <zohar@linux.ibm.com>
> Reviewed-by: Luis Chamberlain <mcgrof@kernel.org>
> Signed-off-by: Kees Cook <redacted>


Acked-by: James Morris <redacted>


-- 
James Morris
[ref]

```
