Fix ufs_daddr_t/daddr_t type problems.
Sponsored by: DARPA & NAI labs.
This commit is contained in:
parent
c7ffbdd995
commit
8fdbc99b69
@ -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");
|
||||
|
@ -71,7 +71,7 @@ ufs_bmap(ap)
|
||||
int *a_runb;
|
||||
} */ *ap;
|
||||
{
|
||||
daddr_t blkno;
|
||||
ufs_daddr_t blkno;
|
||||
int error;
|
||||
|
||||
/*
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user