Deleted Added
full compact
40c40
< * $FreeBSD: head/sys/gnu/fs/ext2fs/ext2_vfsops.c 71576 2001-01-24 12:35:55Z jasone $
---
> * $FreeBSD: head/sys/gnu/fs/ext2fs/ext2_vfsops.c 71699 2001-01-27 00:01:31Z jhb $
190d189
< struct ucred *uc;
235,238d233
< PROC_LOCK(p);
< uc = p->p_ucred;
< crhold(uc);
< PROC_UNLOCK(p);
240,241c235
< uc, p)) != 0) {
< crfree(uc);
---
> p->p_ucred, p)) != 0) {
245d238
< crfree(uc);
297,302c290
< PROC_LOCK(p);
< uc = p->p_ucred;
< crhold(uc);
< PROC_UNLOCK(p);
< if ((error = VOP_ACCESS(devvp, accessmode, uc, p)) != 0) {
< crfree(uc);
---
> if ((error = VOP_ACCESS(devvp, accessmode, p->p_ucred, p)) != 0) {
306d293
< crfree(uc);
632d618
< struct ucred *uc;
651,656c637
< PROC_LOCK(p);
< uc = p->p_ucred;
< crhold(uc);
< PROC_UNLOCK(p);
< if ((error = vinvalbuf(devvp, V_SAVE, uc, p, 0, 0)) != 0) {
< crfree(uc);
---
> if ((error = vinvalbuf(devvp, V_SAVE, p->p_ucred, p, 0, 0)) != 0)
658,659d638
< }
< crfree(uc);