diff --git a/src/afs/LINUX/osi_vnodeops.c b/src/afs/LINUX/osi_vnodeops.c index aa71dc8d11..43c9ad339d 100644 --- a/src/afs/LINUX/osi_vnodeops.c +++ b/src/afs/LINUX/osi_vnodeops.c @@ -960,7 +960,11 @@ struct file_operations afs_file_fops = { # else .splice_write = generic_file_splice_write, # endif +# if LINUX_VERSION_CODE >= KERNEL_VERSION(6,5,0) + .splice_read = filemap_splice_read, +# else .splice_read = generic_file_splice_read, +# endif #endif .release = afs_linux_release, .fsync = afs_linux_fsync,