diff options
author | David Howells <dhowells@redhat.com> | 2023-05-22 14:50:15 +0100 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2023-05-24 08:42:17 -0600 |
commit | 2cb1e08985e3dc59d0a4ebf770a87e3e2410d985 (patch) | |
tree | 99dc1a263bc17a1a1ff9ff48fc47d208961ca8f4 /fs/hpfs | |
parent | ab82513126f8b426080038517b7d290adff377bb (diff) | |
download | linux-2cb1e08985e3dc59d0a4ebf770a87e3e2410d985.tar.gz linux-2cb1e08985e3dc59d0a4ebf770a87e3e2410d985.tar.bz2 linux-2cb1e08985e3dc59d0a4ebf770a87e3e2410d985.zip |
splice: Use filemap_splice_read() instead of generic_file_splice_read()
Replace pointers to generic_file_splice_read() with calls to
filemap_splice_read().
Signed-off-by: David Howells <dhowells@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Christian Brauner <brauner@kernel.org>
cc: Jens Axboe <axboe@kernel.dk>
cc: Al Viro <viro@zeniv.linux.org.uk>
cc: David Hildenbrand <david@redhat.com>
cc: John Hubbard <jhubbard@nvidia.com>
cc: linux-mm@kvack.org
cc: linux-block@vger.kernel.org
cc: linux-fsdevel@vger.kernel.org
Link: https://lore.kernel.org/r/20230522135018.2742245-29-dhowells@redhat.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'fs/hpfs')
-rw-r--r-- | fs/hpfs/file.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/hpfs/file.c b/fs/hpfs/file.c index 88952d4a631e..1bb8d97cd9ae 100644 --- a/fs/hpfs/file.c +++ b/fs/hpfs/file.c @@ -259,7 +259,7 @@ const struct file_operations hpfs_file_ops = .mmap = generic_file_mmap, .release = hpfs_file_release, .fsync = hpfs_file_fsync, - .splice_read = generic_file_splice_read, + .splice_read = filemap_splice_read, .unlocked_ioctl = hpfs_ioctl, .compat_ioctl = compat_ptr_ioctl, }; |