From owner-p4-projects Tue Oct 29 15:24:49 2002 Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 3D3C837B404; Tue, 29 Oct 2002 15:24:47 -0800 (PST) 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 CD49F37B401 for ; Tue, 29 Oct 2002 15:24:46 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8589D43E3B for ; Tue, 29 Oct 2002 15:24:46 -0800 (PST) (envelope-from bb+lists.freebsd.perforce@cyrus.watson.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id g9TNNYmV067717 for ; Tue, 29 Oct 2002 15:23:34 -0800 (PST) (envelope-from bb+lists.freebsd.perforce@cyrus.watson.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id g9TNNY2H067714 for perforce@freebsd.org; Tue, 29 Oct 2002 15:23:34 -0800 (PST) Date: Tue, 29 Oct 2002 15:23:34 -0800 (PST) Message-Id: <200210292323.g9TNNY2H067714@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to bb+lists.freebsd.perforce@cyrus.watson.org using -f From: Robert Watson Subject: PERFORCE change 20380 for review To: Perforce Change Reviews Sender: owner-p4-projects@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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