diff options
author | Matthew Dillon <dillon@FreeBSD.org> | 1999-01-21 08:29:12 +0000 |
---|---|---|
committer | Matthew Dillon <dillon@FreeBSD.org> | 1999-01-21 08:29:12 +0000 |
commit | 1c7c3c6a869e5eb64a19fda327dbe9f37af584b2 (patch) | |
tree | 7fdc5292f8aa97dbc631f433cac4d9874b2c10a0 /sys/kern/kern_physio.c | |
parent | 7090df5aedf992f32acd3e943feef5610de2a3d0 (diff) | |
download | src-test2-1c7c3c6a869e5eb64a19fda327dbe9f37af584b2.tar.gz src-test2-1c7c3c6a869e5eb64a19fda327dbe9f37af584b2.zip |
Notes
Diffstat (limited to 'sys/kern/kern_physio.c')
-rw-r--r-- | sys/kern/kern_physio.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/kern/kern_physio.c b/sys/kern/kern_physio.c index 441d95fc5086..ad63a9831fb6 100644 --- a/sys/kern/kern_physio.c +++ b/sys/kern/kern_physio.c @@ -16,7 +16,7 @@ * 4. Modifications may be freely made to this file if the above conditions * are met. * - * $Id: kern_physio.c,v 1.28 1998/08/19 10:50:32 sos Exp $ + * $Id: kern_physio.c,v 1.29 1998/10/25 17:44:51 phk Exp $ */ #include <sys/param.h> @@ -147,7 +147,7 @@ physio(strategy, bp, dev, rw, minp, uio) doerror: - relpbuf(bpa); + relpbuf(bpa, NULL); if (!bp_alloc) { bp->b_flags &= ~(B_BUSY|B_PHYS); if( bp->b_flags & B_WANTED) { @@ -197,13 +197,13 @@ phygetvpbuf(dev_t dev, int resid) bdsw = cdevsw[major(dev)]; if ((bdsw == NULL) || (bdsw->d_bmaj == -1)) - return getpbuf(); + return getpbuf(NULL); maxio = bdsw->d_maxio; if (resid > maxio) resid = maxio; - return getpbuf(); + return getpbuf(NULL); } static void |