diff options
Diffstat (limited to 'fs/splice.c')
-rw-r--r-- | fs/splice.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/splice.c b/fs/splice.c index 8fa9217ed585..a285fd746dc0 100644 --- a/fs/splice.c +++ b/fs/splice.c | |||
@@ -324,6 +324,8 @@ __generic_file_splice_read(struct file *in, loff_t *ppos, | |||
324 | mapping_gfp_mask(mapping)); | 324 | mapping_gfp_mask(mapping)); |
325 | if (unlikely(error)) { | 325 | if (unlikely(error)) { |
326 | page_cache_release(page); | 326 | page_cache_release(page); |
327 | if (error == -EEXIST) | ||
328 | continue; | ||
327 | break; | 329 | break; |
328 | } | 330 | } |
329 | /* | 331 | /* |