On Fri, 2020-07-24 at 14:36 -0700, 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 > Signed-off-by: Kees Cook <keescook@xxxxxxxxxxxx> Reviewed-by: Mimi Zohar <zohar@xxxxxxxxxxxxx>