Diff for /libaitsched/src/hooks.c between versions 1.30 and 1.30.4.1

version 1.30, 2015/07/02 23:27:06 version 1.30.4.1, 2016/09/29 13:42:08
Line 869  fetch_hook_kevent_proceed(int en, struct kevent *res,  Line 869  fetch_hook_kevent_proceed(int en, struct kevent *res, 
         struct aiocb *acb;          struct aiocb *acb;
 #ifdef EVFILT_LIO  #ifdef EVFILT_LIO
         int l;          int l;
         register int j;  
         off_t off;          off_t off;
         struct aiocb **acbs;          struct aiocb **acbs;
         struct iovec *iv;          struct iovec *iv;
Line 1019  fetch_hook_kevent_proceed(int en, struct kevent *res,  Line 1018  fetch_hook_kevent_proceed(int en, struct kevent *res, 
                                         iv = (struct iovec*) TASK_DATA(task);                                          iv = (struct iovec*) TASK_DATA(task);
                                         fd = acbs[0]->aio_fildes;                                          fd = acbs[0]->aio_fildes;
                                         off = acbs[0]->aio_offset;                                          off = acbs[0]->aio_offset;
                                        for (j = len = 0; i < TASK_DATLEN(task); len += l, i++) {                                        for (len = 0; i < TASK_DATLEN(task); len += l, i++) {
                                                 if ((iv[i].iov_len = aio_return(acbs[i])) == -1)                                                  if ((iv[i].iov_len = aio_return(acbs[i])) == -1)
                                                         l = 0;                                                          l = 0;
                                                 else                                                  else

Removed from v.1.30  
changed lines
  Added in v.1.30.4.1


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>