From 58ba687237d0762efccd65fd8ac43e874dc7d619 Mon Sep 17 00:00:00 2001 From: "Michael I. Bushnell" Date: Mon, 14 Feb 1994 21:39:43 +0000 Subject: Formerly io-stubs.c.~3~ --- libdiskfs/io-stubs.c | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) (limited to 'libdiskfs') diff --git a/libdiskfs/io-stubs.c b/libdiskfs/io-stubs.c index e55597e0..6db67b04 100644 --- a/libdiskfs/io-stubs.c +++ b/libdiskfs/io-stubs.c @@ -24,7 +24,7 @@ Semantics of ordinary files say this shouldn't happen, because we never set use_read_size in the shared data. */ error_t -S_io_readsleep (struct protid *cred) +diskfs_S_io_readsleep (struct protid *cred) { if (!cred) return EOPNOTSUPP; @@ -35,7 +35,7 @@ S_io_readsleep (struct protid *cred) /* Implement io_eofnotify as described in . We don't use this feature. */ error_t -S_io_eofnotify (struct protid *cred) +diskfs_S_io_eofnotify (struct protid *cred) { if (!cred) return EOPNOTSUPP; @@ -43,10 +43,19 @@ S_io_eofnotify (struct protid *cred) return 0; } +/* 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) +{ + return cred ? 0 : EOPNOTSUPP; +} + + /* Implement io_sigio as described in . We do this (in theory) but async IO is implemented here yet. */ error_t -S_io_sigio (struct protid *cred) +diskfs_S_io_sigio (struct protid *cred) { if (!cred) return EOPNOTSUPP; -- cgit v1.2.3