diff --git a/fs/aio.c b/fs/aio.c index 40fddf4217bde1e08bace44316acaf476f399c79..f0b0a2f8a63f2bfc2b57667fa1772ca9d00e2009 100644 --- a/fs/aio.c +++ b/fs/aio.c @@ -1422,13 +1422,6 @@ static ssize_t aio_run_iocb(struct kiocb *req, unsigned opcode, len = ret; - /* XXX: move/kill - rw_verify_area()? */ - /* This matches the pread()/pwrite() logic */ - if (req->ki_pos < 0) { - ret = -EINVAL; - break; - } - if (rw == WRITE) file_start_write(file);