diff options
author | phk <phk@FreeBSD.org> | 2003-01-03 05:57:35 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2003-01-03 05:57:35 +0000 |
commit | 00ede7aab1a3912008308e8dc9863323870901f1 (patch) | |
tree | 7c30270f60a33aae5bf8aa118731948cb5e31d9f /sys/kern | |
parent | ed9a027a4af44624e146aba2ff4c73032ea9e9ad (diff) | |
download | FreeBSD-src-00ede7aab1a3912008308e8dc9863323870901f1.zip FreeBSD-src-00ede7aab1a3912008308e8dc9863323870901f1.tar.gz |
Remove unused second argument from DEV_STRATEGY().
Diffstat (limited to 'sys/kern')
-rw-r--r-- | sys/kern/kern_physio.c | 2 | ||||
-rw-r--r-- | sys/kern/subr_disklabel.c | 8 | ||||
-rw-r--r-- | sys/kern/subr_diskmbr.c | 4 | ||||
-rw-r--r-- | sys/kern/vfs_aio.c | 2 |
4 files changed, 8 insertions, 8 deletions
diff --git a/sys/kern/kern_physio.c b/sys/kern/kern_physio.c index 3525ca0..f61b55c 100644 --- a/sys/kern/kern_physio.c +++ b/sys/kern/kern_physio.c @@ -104,7 +104,7 @@ physio(dev_t dev, struct uio *uio, int ioflag) vmapbuf(bp); } - DEV_STRATEGY(bp, 0); + DEV_STRATEGY(bp); spl = splbio(); while ((bp->b_flags & B_DONE) == 0) tsleep(bp, PRIBIO, "physstr", 0); diff --git a/sys/kern/subr_disklabel.c b/sys/kern/subr_disklabel.c index c41d9be..2166fc2 100644 --- a/sys/kern/subr_disklabel.c +++ b/sys/kern/subr_disklabel.c @@ -72,7 +72,7 @@ readdisklabel(dev, lp) bp->b_bcount = lp->d_secsize; bp->b_flags &= ~B_INVAL; bp->b_iocmd = BIO_READ; - DEV_STRATEGY(bp, 1); + DEV_STRATEGY(bp); if (bufwait(bp)) msg = "I/O error"; else if (bp->b_resid != 0) @@ -177,7 +177,7 @@ writedisklabel(dev, lp) */ bp->b_flags &= ~B_INVAL; bp->b_iocmd = BIO_READ; - DEV_STRATEGY(bp, 1); + DEV_STRATEGY(bp); error = bufwait(bp); if (error) goto done; @@ -197,7 +197,7 @@ writedisklabel(dev, lp) #ifdef __alpha__ alpha_fix_srm_checksum(bp); #endif - DEV_STRATEGY(bp, 1); + DEV_STRATEGY(bp); error = bufwait(bp); goto done; } @@ -210,7 +210,7 @@ done: *dlp = *lp; bp->b_flags &= ~B_INVAL; bp->b_iocmd = BIO_WRITE; - DEV_STRATEGY(bp, 1); + DEV_STRATEGY(bp); error = bufwait(bp); #endif bp->b_flags |= B_INVAL | B_AGE; diff --git a/sys/kern/subr_diskmbr.c b/sys/kern/subr_diskmbr.c index 596bb95..7561c80 100644 --- a/sys/kern/subr_diskmbr.c +++ b/sys/kern/subr_diskmbr.c @@ -214,7 +214,7 @@ reread_mbr: bp->b_blkno = mbr_offset; bp->b_bcount = lp->d_secsize; bp->b_iocmd = BIO_READ; - DEV_STRATEGY(bp, 1); + DEV_STRATEGY(bp); if (bufwait(bp) != 0) { disk_err(&bp->b_io, "reading primary partition table: error", 0, 1); @@ -416,7 +416,7 @@ mbr_extended(dev, lp, ssp, ext_offset, ext_size, base_ext_offset, nsectors, bp->b_blkno = ext_offset; bp->b_bcount = lp->d_secsize; bp->b_iocmd = BIO_READ; - DEV_STRATEGY(bp, 1); + DEV_STRATEGY(bp); if (bufwait(bp) != 0) { disk_err(&bp->b_io, "reading extended partition table: error", 0, 1); diff --git a/sys/kern/vfs_aio.c b/sys/kern/vfs_aio.c index 45b25fc..2f63af9 100644 --- a/sys/kern/vfs_aio.c +++ b/sys/kern/vfs_aio.c @@ -1139,7 +1139,7 @@ aio_qphysio(struct proc *p, struct aiocblist *aiocbe) splx(s); /* Perform transfer. */ - DEV_STRATEGY(bp, 0); + DEV_STRATEGY(bp); notify = 0; s = splbio(); |