PERFORCE change 20380 for review

Robert Watson rwatson at freebsd.org
Tue Oct 29 23:23:34 GMT 2002


http://perforce.freebsd.org/chv.cgi?CH=20380

Change 20380 by rwatson at 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 at trustedbsd.org
with "unsubscribe trustedbsd-cvs" in the body of the message



More information about the trustedbsd-cvs mailing list