diff --git a/fs/aio.c b/fs/aio.c index 13aa9298abf4d00a34acd80fa22de044842992e8..f02ad2677fc5868e173e349910e637b23ca78cb7 100644 --- a/fs/aio.c +++ b/fs/aio.c @@ -1413,7 +1413,6 @@ static ssize_t aio_setup_single_vector(struct kiocb *kiocb) kiocb->ki_iovec->iov_len = kiocb->ki_left; kiocb->ki_nr_segs = 1; kiocb->ki_cur_seg = 0; - kiocb->ki_nbytes = kiocb->ki_left; return 0; }