aboutsummaryrefslogtreecommitdiff
path: root/sys/kern
diff options
context:
space:
mode:
authorPoul-Henning Kamp <phk@FreeBSD.org>2002-05-14 11:09:43 +0000
committerPoul-Henning Kamp <phk@FreeBSD.org>2002-05-14 11:09:43 +0000
commit98b0c7897836555c6ae61785442cb5d6a4ed2551 (patch)
tree2bbba972edd4467a07189ae4827f761db93b7e6a /sys/kern
parent3f2bb38c5c2182bb3908655892c5971efcf9b775 (diff)
downloadsrc-98b0c7897836555c6ae61785442cb5d6a4ed2551.tar.gz
src-98b0c7897836555c6ae61785442cb5d6a4ed2551.zip
Make daddr_t and u_daddr_t 64bits wide.
Retire daddr64_t and use daddr_t instead. Sponsored by: DARPA & NAI Labs.
Notes
Notes: svn path=/head/; revision=96572
Diffstat (limited to 'sys/kern')
-rw-r--r--sys/kern/vfs_cluster.c6
-rw-r--r--sys/kern/vnode_if.src4
2 files changed, 5 insertions, 5 deletions
diff --git a/sys/kern/vfs_cluster.c b/sys/kern/vfs_cluster.c
index 1cc549a2b23e..c0eed780222f 100644
--- a/sys/kern/vfs_cluster.c
+++ b/sys/kern/vfs_cluster.c
@@ -67,7 +67,7 @@ static struct cluster_save *
cluster_collectbufs(struct vnode *vp, struct buf *last_bp);
static struct buf *
cluster_rbuild(struct vnode *vp, u_quad_t filesize, daddr_t lbn,
- daddr64_t blkno, long size, int run, struct buf *fbp);
+ daddr_t blkno, long size, int run, struct buf *fbp);
static int write_behind = 1;
SYSCTL_INT(_vfs, OID_AUTO, write_behind, CTLFLAG_RW, &write_behind, 0,
@@ -103,7 +103,7 @@ cluster_read(vp, filesize, lblkno, size, cred, totread, seqcount, bpp)
struct buf **bpp;
{
struct buf *bp, *rbp, *reqbp;
- daddr64_t blkno, origblkno;
+ daddr_t blkno, origblkno;
int error, num_ra;
int i;
int maxra, racluster;
@@ -319,7 +319,7 @@ cluster_rbuild(vp, filesize, lbn, blkno, size, run, fbp)
struct vnode *vp;
u_quad_t filesize;
daddr_t lbn;
- daddr64_t blkno;
+ daddr_t blkno;
long size;
int run;
struct buf *fbp;
diff --git a/sys/kern/vnode_if.src b/sys/kern/vnode_if.src
index 7d1f6b00a51b..cdeb5e58d97d 100644
--- a/sys/kern/vnode_if.src
+++ b/sys/kern/vnode_if.src
@@ -378,9 +378,9 @@ vop_unlock {
#
vop_bmap {
IN struct vnode *vp;
- IN daddr64_t bn;
+ IN daddr_t bn;
OUT struct vnode **vpp;
- IN daddr64_t *bnp;
+ IN daddr_t *bnp;
OUT int *runp;
OUT int *runb;
};