Project

General

Profile

Bug #1777 » vn.patch

josepht, 06/05/2010 10:15 PM

View differences:

sys/dev/disk/vn/vn.c
* Set credits in our softc
*/
if (vn->sc_cred)
if (vn->sc_cred && vn->sc_cred->cr_ref > 0)
crfree(vn->sc_cred);
vn->sc_cred = crdup(cred);
(2-2/3)