diff options
-rw-r--r-- | fs/aio.c | 7 |
1 files changed, 0 insertions, 7 deletions
@@ -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 | ||