From owner-cvs-all Fri Nov 2 13:11:59 2001 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id E55E437B415; Fri, 2 Nov 2001 13:11:41 -0800 (PST) Received: (from rwatson@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id fA2LBfJ49237; Fri, 2 Nov 2001 13:11:41 -0800 (PST) (envelope-from rwatson) Message-Id: <200111022111.fA2LBfJ49237@freefall.freebsd.org> From: Robert Watson Date: Fri, 2 Nov 2001 13:11:41 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern vfs_syscalls.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG rwatson 2001/11/02 13:11:41 PST Modified files: sys/kern vfs_syscalls.c Log: o Remove the local temporary variable "struct proc *p" from vfs_mount() in vfs_syscalls.c. Although it did save some indirection, many of those savings will be obscured with the impending commit of suser() changes, and the result is increased code complexity. Also, once p->p_ucred and td->td_ucred are distinguished, this will make vfs_mount() use the correct thread credential, rather than the process credential. Revision Changes Path 1.213 +7 -7 src/sys/kern/vfs_syscalls.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message