aboutsummaryrefslogtreecommitdiff
path: root/sys/gnu/ext2fs/ext2_extern.h
diff options
context:
space:
mode:
authorIan Dowse <iedowse@FreeBSD.org>2002-05-18 19:12:38 +0000
committerIan Dowse <iedowse@FreeBSD.org>2002-05-18 19:12:38 +0000
commit39e24f84acc7bd7fd313fcc640ea2533862870dd (patch)
tree0ab626e7fca7a1f0961517a9e578ea771fcb50d1 /sys/gnu/ext2fs/ext2_extern.h
parented6ca8732cbf6c8ac3af5bb60079c9eec33a38a7 (diff)
downloadsrc-39e24f84acc7bd7fd313fcc640ea2533862870dd.tar.gz
src-39e24f84acc7bd7fd313fcc640ea2533862870dd.zip
Use explicitly-sized types where necessary to make ext2fs work again
after the change to a 64-bit daddr_t.
Notes
Notes: svn path=/head/; revision=96877
Diffstat (limited to 'sys/gnu/ext2fs/ext2_extern.h')
-rw-r--r--sys/gnu/ext2fs/ext2_extern.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/sys/gnu/ext2fs/ext2_extern.h b/sys/gnu/ext2fs/ext2_extern.h
index 505fefd97c56..54293dba377e 100644
--- a/sys/gnu/ext2fs/ext2_extern.h
+++ b/sys/gnu/ext2fs/ext2_extern.h
@@ -51,17 +51,17 @@ struct vfsconf;
struct vnode;
int ext2_alloc(struct inode *,
- daddr_t, daddr_t, int, struct ucred *, daddr_t *);
+ int32_t, int32_t, int, struct ucred *, int32_t *);
int ext2_balloc(struct inode *,
- daddr_t, int, struct ucred *, struct buf **, int);
+ int32_t, int, struct ucred *, struct buf **, int);
int ext2_blkatoff(struct vnode *, off_t, char **, struct buf **);
-void ext2_blkfree(struct inode *, daddr_t, long);
-daddr_t ext2_blkpref(struct inode *, daddr_t, int, daddr_t *, daddr_t);
+void ext2_blkfree(struct inode *, int32_t, long);
+int32_t ext2_blkpref(struct inode *, int32_t, int, int32_t *, int32_t);
int ext2_bmap(struct vop_bmap_args *);
-int ext2_bmaparray(struct vnode *, daddr_t, daddr_t *, int *, int *);
+int ext2_bmaparray(struct vnode *, int32_t, int32_t *, int *, int *);
void ext2_dirbad(struct inode *ip, doff_t offset, char *how);
void ext2_ei2i(struct ext2_inode *, struct inode *);
-int ext2_getlbns(struct vnode *, daddr_t, struct indir *, int *);
+int ext2_getlbns(struct vnode *, int32_t, struct indir *, int *);
void ext2_i2ei(struct inode *, struct ext2_inode *);
int ext2_ihashget(dev_t, ino_t, int, struct vnode **);
void ext2_ihashinit(void);
@@ -72,7 +72,7 @@ void ext2_ihashrem(struct inode *);
void ext2_itimes(struct vnode *vp);
int ext2_reallocblks(struct vop_reallocblks_args *);
int ext2_reclaim(struct vop_reclaim_args *);
-void ext2_setblock(struct ext2_sb_info *, u_char *, daddr_t);
+void ext2_setblock(struct ext2_sb_info *, u_char *, int32_t);
int ext2_truncate(struct vnode *, off_t, int, struct ucred *, struct thread *);
int ext2_update(struct vnode *, int);
int ext2_valloc(struct vnode *, int, struct ucred *, struct vnode **);