splice: Use filemap_splice_read() instead of generic_file_splice_read()
[linux-block.git] / fs / afs / file.c
index d8a6b09dadf77256b2db5c49e30e296da75b7b1c..d37dd201752baa9d5c01b4c4181969f86a03c5f1 100644 (file)
@@ -603,5 +603,5 @@ static ssize_t afs_file_splice_read(struct file *in, loff_t *ppos,
        if (ret < 0)
                return ret;
 
-       return generic_file_splice_read(in, ppos, pipe, len, flags);
+       return filemap_splice_read(in, ppos, pipe, len, flags);
 }