Re: [PATCH v18 08/15] cifs: Use generic_file_splice_read()

From: Paulo Alcantara
Date: Tue Mar 14 2023 - 18:53:05 EST


David Howells <dhowells@xxxxxxxxxx> writes:

> Make cifs use generic_file_splice_read() rather than doing it for itself.
>
> As a consequence, filemap_splice_read() no longer needs to be exported.
>
> Signed-off-by: David Howells <dhowells@xxxxxxxxxx>
> Reviewed-by: Christoph Hellwig <hch@xxxxxx>
> cc: Jens Axboe <axboe@xxxxxxxxx>
> cc: Steve French <smfrench@xxxxxxxxx>
> cc: Al Viro <viro@xxxxxxxxxxxxxxxxxx>
> cc: David Hildenbrand <david@xxxxxxxxxx>
> cc: John Hubbard <jhubbard@xxxxxxxxxx>
> cc: linux-mm@xxxxxxxxx
> cc: linux-block@xxxxxxxxxxxxxxx
> cc: linux-cifs@xxxxxxxxxxxxxxx
> cc: linux-fsdevel@xxxxxxxxxxxxxxx
> ---
>
> Notes:
> ver #18)
> - Split out from change to generic_file_splice_read().
>
> fs/cifs/cifsfs.c | 8 ++++----
> fs/cifs/cifsfs.h | 3 ---
> fs/cifs/file.c | 16 ----------------
> mm/filemap.c | 1 -
> 4 files changed, 4 insertions(+), 24 deletions(-)

Reviewed-by: Paulo Alcantara (SUSE) <pc@xxxxxxxxxxxxx>