aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fs/aio.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/fs/aio.c b/fs/aio.c
index 40fddf4217bd..f0b0a2f8a63f 100644
--- a/fs/aio.c
+++ b/fs/aio.c
@@ -1422,13 +1422,6 @@ rw_common:
1422 1422
1423 len = ret; 1423 len = ret;
1424 1424
1425 /* XXX: move/kill - rw_verify_area()? */
1426 /* This matches the pread()/pwrite() logic */
1427 if (req->ki_pos < 0) {
1428 ret = -EINVAL;
1429 break;
1430 }
1431
1432 if (rw == WRITE) 1425 if (rw == WRITE)
1433 file_start_write(file); 1426 file_start_write(file);
1434 1427