From 534c1ce38f16b63fe4c2ae8b2af1131009f91c69 Mon Sep 17 00:00:00 2001 From: Miles Bader Date: Fri, 28 Apr 1995 15:48:14 +0000 Subject: Formerly devio.c.~7~ --- ext2fs/devio.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ext2fs') diff --git a/ext2fs/devio.c b/ext2fs/devio.c index 3e12f911..f9ed06f4 100644 --- a/ext2fs/devio.c +++ b/ext2fs/devio.c @@ -25,7 +25,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ /* Write disk block ADDR with DATA of LEN bytes, waiting for completion. */ error_t -dev_write_sync (daddr_t addr, vm_address_t data, long len) +dev_write_sync (block_t addr, vm_address_t data, long len) { int written; assert (!diskfs_readonly); @@ -38,7 +38,7 @@ dev_write_sync (daddr_t addr, vm_address_t data, long len) /* Read disk block ADDR; put the address of the data in DATA; read LEN bytes. Always *DATA should be a full page no matter what. */ error_t -dev_read_sync (daddr_t addr, vm_address_t *data, long len) +dev_read_sync (block_t addr, vm_address_t *data, long len) { u_int read; if (device_read (device_port, 0, addr, len, (io_buf_ptr_t *)data, &read) -- cgit v1.2.3