summaryrefslogtreecommitdiff
path: root/sys/ufs/ext2fs/ext2fs_readwrite.c
diff options
context:
space:
mode:
authorTed Unangst <tedu@cvs.openbsd.org>2003-05-26 18:33:18 +0000
committerTed Unangst <tedu@cvs.openbsd.org>2003-05-26 18:33:18 +0000
commitd9540446d8c186c4d28cf77e40a931e771e4eff9 (patch)
treed2c175566022f7d928a9345dccda179bf10932bc /sys/ufs/ext2fs/ext2fs_readwrite.c
parentc0955d2b195c0e0a7cfb66ef79790c295c30432b (diff)
fiddle with some type names. change most instances of ufs_daddr_t to
ufs1_daddr_t, a few to daddr_t. ufs_daddr_t typedef is retained, but consider it deprecated. no functional changes. inspired by freebsd. ok art@
Diffstat (limited to 'sys/ufs/ext2fs/ext2fs_readwrite.c')
-rw-r--r--sys/ufs/ext2fs/ext2fs_readwrite.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/ufs/ext2fs/ext2fs_readwrite.c b/sys/ufs/ext2fs/ext2fs_readwrite.c
index 9f54b352c4d..03e0834803d 100644
--- a/sys/ufs/ext2fs/ext2fs_readwrite.c
+++ b/sys/ufs/ext2fs/ext2fs_readwrite.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ext2fs_readwrite.c,v 1.14 2002/03/30 10:37:40 niklas Exp $ */
+/* $OpenBSD: ext2fs_readwrite.c,v 1.15 2003/05/26 18:33:16 tedu Exp $ */
/* $NetBSD: ext2fs_readwrite.c,v 1.16 2001/02/27 04:37:47 chs Exp $ */
/*-
@@ -80,7 +80,7 @@ ext2fs_read(v)
struct uio *uio;
struct m_ext2fs *fs;
struct buf *bp;
- ufs_daddr_t lbn, nextlbn;
+ ufs1_daddr_t lbn, nextlbn;
off_t bytesinfile;
long size, xfersize, blkoffset;
int error;
@@ -182,7 +182,7 @@ ext2fs_write(v)
struct m_ext2fs *fs;
struct buf *bp;
struct proc *p;
- ufs_daddr_t lbn;
+ ufs1_daddr_t lbn;
off_t osize;
int blkoffset, error, flags, ioflag, resid, size, xfersize;