Re: [PATCH v9 1/8] fs: introduce kernel_pread_file* support

From: Scott Branden
Date: Tue Jun 16 2020 - 12:09:44 EST


Hi Christoph,

On 2020-06-16 12:34 a.m., Christoph Hellwig wrote:
Seriously, no more additions to fs.h for this interface please. As
requested before as the very first thing move it out of this header
used by just about every file in the kernel. That is in addition
to all the other issues with the interface.
I can add such to the start of this patch series. I'm guessing from:
#define __kernel_read_file_id(id) \
to
extern int kernel_read_file_from_fd(int, void **, loff_t *, loff_t,
ÂÂÂ ÂÂÂ ÂÂÂ ÂÂÂ ÂÂÂ enum kernel_read_file_id);