Fix ufs_daddr_t/daddr_t type problems.

Sponsored by:	DARPA & NAI labs.
This commit is contained in:
Poul-Henning Kamp 2002-05-17 18:59:53 +00:00
parent c7ffbdd995
commit 8fdbc99b69
3 changed files with 4 additions and 4 deletions

View File

@ -1658,7 +1658,7 @@ setup_allocindir_phase2(bp, ip, aip)
struct allocindir *oldaip;
struct freefrag *freefrag;
struct newblk *newblk;
daddr_t blkno;
ufs_daddr_t blkno;
if (bp->b_lblkno >= 0)
panic("setup_allocindir_phase2: not indir blk");

View File

@ -71,7 +71,7 @@ ufs_bmap(ap)
int *a_runb;
} */ *ap;
{
daddr_t blkno;
ufs_daddr_t blkno;
int error;
/*

View File

@ -68,7 +68,7 @@ READ(ap)
struct uio *uio;
FS *fs;
struct buf *bp;
ufs_daddr_t lbn, nextlbn;
daddr_t lbn, nextlbn;
off_t bytesinfile;
long size, xfersize, blkoffset;
int error, orig_resid;
@ -606,7 +606,7 @@ ffs_getpages(ap)
int pbackwards, pforwards;
int firstpage;
int reqlblkno;
daddr_t reqblkno;
ufs_daddr_t reqblkno;
int poff;
int pcount;
int rtval;