From 729de2ab72ea246825663581c4584f94134b985d Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Thu, 5 May 1994 14:17:05 +0000 Subject: Formerly io-stubs.c.~5~ --- libdiskfs/io-stubs.c | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'libdiskfs/io-stubs.c') diff --git a/libdiskfs/io-stubs.c b/libdiskfs/io-stubs.c index d5266e30..07129b86 100644 --- a/libdiskfs/io-stubs.c +++ b/libdiskfs/io-stubs.c @@ -23,7 +23,7 @@ /* Implement io_readsleep as described in Semantics of ordinary files say this shouldn't happen, because we never set use_read_size in the shared data. */ -error_t +kern_return_t diskfs_S_io_readsleep (struct protid *cred) { if (!cred) @@ -34,7 +34,7 @@ diskfs_S_io_readsleep (struct protid *cred) /* Implement io_eofnotify as described in . We don't use this feature. */ -error_t +kern_return_t diskfs_S_io_eofnotify (struct protid *cred) { if (!cred) @@ -45,15 +45,16 @@ diskfs_S_io_eofnotify (struct protid *cred) /* Implement io_postnotify as described in . We don't use this feature. */ -error_t -diskfs_S_io_postnotify (struct protid *cred, int start, int end) +kern_return_t +diskfs_S_io_postnotify (struct protid *cred, + vm_offset_t start, vm_offset_t end) { return cred ? 0 : EOPNOTSUPP; } /* Implement io_readnotify as described in . We don't use this feature. */ -error_t +kern_return_t diskfs_S_io_readnotify (struct protid *cred) { return cred ? 0 : EOPNOTSUPP; @@ -62,7 +63,7 @@ diskfs_S_io_readnotify (struct protid *cred) /* Implement io_sigio as described in . We do this (in theory) but async IO is implemented here yet. */ -error_t +kern_return_t diskfs_S_io_sigio (struct protid *cred) { if (!cred) -- cgit v1.2.3