aboutsummaryrefslogtreecommitdiffstats
path: root/fs/splice.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/splice.c')
-rw-r--r--fs/splice.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/splice.c b/fs/splice.c
index 14e2262c0a04..9b559ee711a8 100644
--- a/fs/splice.c
+++ b/fs/splice.c
@@ -1234,7 +1234,7 @@ static int get_iovec_page_array(const struct iovec __user *iov,
1234 if (unlikely(!len)) 1234 if (unlikely(!len))
1235 break; 1235 break;
1236 error = -EFAULT; 1236 error = -EFAULT;
1237 if (unlikely(!base)) 1237 if (!access_ok(VERIFY_READ, base, len))
1238 break; 1238 break;
1239 1239
1240 /* 1240 /*