Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Oct 2002 15:23:34 -0800 (PST)
From:      Robert Watson <rwatson@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 20380 for review
Message-ID:  <200210292323.g9TNNY2H067714@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=20380

Change 20380 by rwatson@rwatson_paprika on 2002/10/29 15:23:14

	White space fix; we now use crhold() not crref().

Affected files ...

.. //depot/projects/trustedbsd/mac/sys/kern/vfs_aio.c#23 edit

Differences ...

==== //depot/projects/trustedbsd/mac/sys/kern/vfs_aio.c#23 (text+ko) ====

@@ -175,7 +175,7 @@
 	struct	callout_handle timeouthandle;
         struct	buf *bp;		/* Buffer pointer */
         struct	proc *userproc;		/* User process */ /* Not td! */
-	struct	ucred *cred;		/* Active credential when created */
+	struct  ucred *cred;		/* Active credential when created */
         struct	file *fd_file;		/* Pointer to file structure */ 
         struct	aio_liojob *lio;	/* Optional lio job */
         struct	aiocb *uuaiocb;		/* Pointer in userspace of aiocb */
@@ -1418,7 +1418,7 @@
 	suword(&job->_aiocb_private.error, EINPROGRESS);
 	aiocbe->uaiocb._aiocb_private.error = EINPROGRESS;
 	aiocbe->userproc = p;
-	aiocbe->cred = crref(td->td_ucred);
+	aiocbe->cred = crhold(td->td_ucred);
 	aiocbe->jobflags = 0;
 	aiocbe->lio = lj;
 	ki = p->p_aioinfo;

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe p4-projects" in the body of the message




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