summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;