X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=lustre%2Fllite%2Fpcc.c;h=c51a73565e0c8120f84418575af46bf364f3c237;hp=cfad0006cd073035f0d795be2b64967095f8fba8;hb=cca45ad8aeaa8e124e9e48361bf7cff89a035f82;hpb=4aa17923f08bea425a20961cb6eaa72ad9af38c1 diff --git a/lustre/llite/pcc.c b/lustre/llite/pcc.c index cfad000..c51a735 100644 --- a/lustre/llite/pcc.c +++ b/lustre/llite/pcc.c @@ -1806,14 +1806,14 @@ ssize_t pcc_file_splice_read(struct file *in_file, loff_t *ppos, ENTRY; - if (!pcc_file) { + if (!pcc_file) RETURN(default_file_splice_read(in_file, ppos, pipe, - count, flags)); - } + count, flags)); pcc_io_init(inode, PIT_SPLICE_READ, &cached); if (!cached) - RETURN(0); + RETURN(default_file_splice_read(in_file, ppos, pipe, + count, flags)); result = default_file_splice_read(pcc_file, ppos, pipe, count, flags);