summaryrefslogtreecommitdiff
path: root/libdiskfs
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1994-02-14 21:39:43 +0000
committerMichael I. Bushnell <mib@gnu.org>1994-02-14 21:39:43 +0000
commit58ba687237d0762efccd65fd8ac43e874dc7d619 (patch)
tree36c5c0f95b8e3063efff9d024c24a76345db2630 /libdiskfs
parent326809d56ff101bd30618c72ba7e0c5bb9f46648 (diff)
Formerly io-stubs.c.~3~
Diffstat (limited to 'libdiskfs')
-rw-r--r--libdiskfs/io-stubs.c15
1 files changed, 12 insertions, 3 deletions
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 <hurd/io.defs>.
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 <hurd/io.defs>.
+ 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 <hurd/io.defs>.
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;