From owner-p4-projects@FreeBSD.ORG Sun Oct 15 13:31:39 2006 Return-Path: X-Original-To: p4-projects@freebsd.org Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id D04CE16A54A; Sun, 15 Oct 2006 13:31:38 +0000 (UTC) X-Original-To: perforce@FreeBSD.org Delivered-To: perforce@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8C46616A494 for ; Sun, 15 Oct 2006 13:31:38 +0000 (UTC) (envelope-from rdivacky@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id ED13543D83 for ; Sun, 15 Oct 2006 13:31:28 +0000 (GMT) (envelope-from rdivacky@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.6/8.13.6) with ESMTP id k9FDVSZ4067374 for ; Sun, 15 Oct 2006 13:31:28 GMT (envelope-from rdivacky@FreeBSD.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.13.6/8.13.4/Submit) id k9FDVSiJ067371 for perforce@freebsd.org; Sun, 15 Oct 2006 13:31:28 GMT (envelope-from rdivacky@FreeBSD.org) Date: Sun, 15 Oct 2006 13:31:28 GMT Message-Id: <200610151331.k9FDVSiJ067371@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to rdivacky@FreeBSD.org using -f From: Roman Divacky To: Perforce Change Reviews Cc: Subject: PERFORCE change 107944 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Oct 2006 13:31:39 -0000 http://perforce.freebsd.org/chv.cgi?CH=107944 Change 107944 by rdivacky@rdivacky_witten on 2006/10/15 13:30:29 Minor style fixes for upcoming merge to cvs. Affected files ... .. //depot/projects/linuxolator/src/sys/compat/linux/linux_aio.c#8 edit Differences ... ==== //depot/projects/linuxolator/src/sys/compat/linux/linux_aio.c#8 (text+ko) ==== @@ -331,8 +331,7 @@ if (isuserland) { nerr = copyin(piocb, &localcb, sizeof(localcb)); pcb = &localcb; - } - else + } else pcb = piocb; DPPRINTF("Dump struct aiocb (%p, %s): %s", @@ -948,7 +947,7 @@ LINUX_AIO_REQ_FOREACH(pctx, preq) { copyout(&(preq->req_pbsd), &(u_aiocbp[j]), sizeof(preq->req_pbsd)); - j ++; + j++; } MPASS(j == pctx->ctx_nreq_cur); aiosusargs.aiocbp = u_aiocbp; @@ -1073,7 +1072,7 @@ LINUX_AIO_UNLOCK(p); /* XXX Interlaced, seamless */ for (i = 0; pctx->ctx_nreq_cur < pctx->ctx_nreq_max && i < args->nr; - i ++) { + i++) { /* Get user space Linux control block */ nerr = copyin(&(args->iocbpp[i]), &porig, sizeof(porig)); if (nerr != 0)