PERFORCE change 107944 for review
Roman Divacky
rdivacky at FreeBSD.org
Sun Oct 15 06:31:39 PDT 2006
http://perforce.freebsd.org/chv.cgi?CH=107944
Change 107944 by rdivacky at 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)
More information about the p4-projects
mailing list