Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 15 Oct 2006 13:31:28 GMT
From:      Roman Divacky <rdivacky@FreeBSD.org>
To:        Perforce Change Reviews <perforce@FreeBSD.org>
Subject:   PERFORCE change 107944 for review
Message-ID:  <200610151331.k9FDVSiJ067371@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
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)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200610151331.k9FDVSiJ067371>