Diff for /src/sys/kern/kern_ktrace.c between versions 1.14 and 1.15

version 1.14, 2004/04/24 04:32:03 version 1.15, 2004/05/21 15:41:23
Line 487  ktrwrite(struct vnode *vp, struct ktr_he Line 487  ktrwrite(struct vnode *vp, struct ktr_he
                 if (uio != NULL)                  if (uio != NULL)
                         kth->ktr_len += uio->uio_resid;                          kth->ktr_len += uio->uio_resid;
         }          }
           VOP_LEASE(vp, td, p->p_ucred, LEASE_WRITE);
         vn_lock(vp, NULL, LK_EXCLUSIVE | LK_RETRY, td);          vn_lock(vp, NULL, LK_EXCLUSIVE | LK_RETRY, td);
         (void)VOP_LEASE(vp, td, p->p_ucred, LEASE_WRITE);  
         error = VOP_WRITE(vp, &auio, IO_UNIT | IO_APPEND, p->p_ucred);          error = VOP_WRITE(vp, &auio, IO_UNIT | IO_APPEND, p->p_ucred);
         if (error == 0 && uio != NULL) {          if (error == 0 && uio != NULL) {
                (void)VOP_LEASE(vp, td, p->p_ucred, LEASE_WRITE);                VOP_LEASE(vp, td, p->p_ucred, LEASE_WRITE);
                 error = VOP_WRITE(vp, uio, IO_UNIT | IO_APPEND, p->p_ucred);                  error = VOP_WRITE(vp, uio, IO_UNIT | IO_APPEND, p->p_ucred);
         }          }
         VOP_UNLOCK(vp, NULL, 0, td);          VOP_UNLOCK(vp, NULL, 0, td);

Removed from v.1.14  
changed lines
  Added in v.1.15