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

2020-07-29 Thread James Morris
On Wed, 29 Jul 2020, Kees Cook wrote: > From: Scott Branden > > 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. > >

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

2020-07-29 Thread Kees Cook
From: Scott Branden 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 Signed-off-by: Scott