diff options
author | phk <phk@FreeBSD.org> | 1999-05-06 20:00:34 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 1999-05-06 20:00:34 +0000 |
commit | f57a01ebfcda8effff50ce6f1c90b572e76d8cd2 (patch) | |
tree | 94f9d207949d472dc16e58b6234afce8a935fbb9 /sys/miscfs | |
parent | c8250e61300b5fdd54b0ef50d5344686ca707353 (diff) | |
download | FreeBSD-src-f57a01ebfcda8effff50ce6f1c90b572e76d8cd2.zip FreeBSD-src-f57a01ebfcda8effff50ce6f1c90b572e76d8cd2.tar.gz |
remove b_proc from struct buf, it's (now) unused.
Reviewed by: dillon, bde
Diffstat (limited to 'sys/miscfs')
-rw-r--r-- | sys/miscfs/devfs/devfs_vnops.c | 5 | ||||
-rw-r--r-- | sys/miscfs/specfs/spec_vnops.c | 5 |
2 files changed, 4 insertions, 6 deletions
diff --git a/sys/miscfs/devfs/devfs_vnops.c b/sys/miscfs/devfs/devfs_vnops.c index b924ef5..55771ec 100644 --- a/sys/miscfs/devfs/devfs_vnops.c +++ b/sys/miscfs/devfs/devfs_vnops.c @@ -23,7 +23,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: devfs_vnops.c,v 1.71 1999/04/27 11:16:31 phk Exp $ + * $Id: devfs_vnops.c,v 1.72 1999/04/28 11:37:15 phk Exp $ */ @@ -1954,8 +1954,7 @@ devfs_getpages(struct vop_getpages_args *ap) bp->b_iodone = devfs_getpages_iodone; /* B_PHYS is not set, but it is nice to fill this in. */ - bp->b_proc = curproc; - bp->b_rcred = bp->b_wcred = bp->b_proc->p_ucred; + bp->b_rcred = bp->b_wcred = curproc->p_ucred; if (bp->b_rcred != NOCRED) crhold(bp->b_rcred); if (bp->b_wcred != NOCRED) diff --git a/sys/miscfs/specfs/spec_vnops.c b/sys/miscfs/specfs/spec_vnops.c index 7f76209..a3ee89f 100644 --- a/sys/miscfs/specfs/spec_vnops.c +++ b/sys/miscfs/specfs/spec_vnops.c @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * @(#)spec_vnops.c 8.14 (Berkeley) 5/21/95 - * $Id: spec_vnops.c,v 1.81 1999/02/25 05:22:30 dillon Exp $ + * $Id: spec_vnops.c,v 1.82 1999/04/05 19:38:30 julian Exp $ */ #include <sys/param.h> @@ -812,8 +812,7 @@ spec_getpages(ap) bp->b_iodone = spec_getpages_iodone; /* B_PHYS is not set, but it is nice to fill this in. */ - bp->b_proc = curproc; - bp->b_rcred = bp->b_wcred = bp->b_proc->p_ucred; + bp->b_rcred = bp->b_wcred = curproc->p_ucred; if (bp->b_rcred != NOCRED) crhold(bp->b_rcred); if (bp->b_wcred != NOCRED) |