Date: Tue, 9 Oct 2001 09:37:52 -0700 (PDT) From: John Baldwin <jhb@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/md md.c Message-ID: <200110091637.f99GbqT21825@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200110091637.f99GbqT21825>
