Deleted Added
full compact
36c36
< __FBSDID("$FreeBSD: head/sys/fs/nfsclient/nfs_clbio.c 234605 2012-04-23 13:21:28Z trasz $");
---
> __FBSDID("$FreeBSD: head/sys/fs/nfsclient/nfs_clbio.c 235332 2012-05-12 12:02:51Z rmacklem $");
284c284,288
< cred = curthread->td_ucred; /* XXX */
---
> /* Set the cred to n_writecred for the write rpcs. */
> if (np->n_writecred != NULL)
> cred = crhold(np->n_writecred);
> else
> cred = crhold(curthread->td_ucred); /* XXX */
347a352
> crfree(cred);