From owner-cvs-all Tue Oct 9 9:37:55 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 7D04C37B401; Tue, 9 Oct 2001 09:37:52 -0700 (PDT) Received: (from jhb@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id f99GbqT21825; Tue, 9 Oct 2001 09:37:52 -0700 (PDT) (envelope-from jhb) Message-Id: <200110091637.f99GbqT21825@freefall.freebsd.org> From: John Baldwin Date: Tue, 9 Oct 2001 09:37:52 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/md md.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 jhb 2001/10/09 09:37:52 PDT Modified files: sys/dev/md md.c Log: Use crhold() instead of crdup(). The md(4) driver doesn't modify the ucred that it uses, so it merely needs to bump its refcount to make it immutable rather than obtain its own copy. Revision Changes Path 1.46 +3 -2 src/sys/dev/md/md.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message