summaryrefslogtreecommitdiff
path: root/stow.c
diff options
context:
space:
mode:
authorSergey Bugaev <bugaevc@gmail.com>2021-04-26 20:08:18 +0300
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2021-04-26 20:15:43 +0200
commit2dfc9328efbd744545586dee18ad0ee2ffa9eb9d (patch)
tree12da4814b9d2fbcc06ec8b5227dfd1ef46f35926 /stow.c
parentde3e9b35373bff3bd491c0a555cc825b6f22258d (diff)
Implement MiG intran payload support
This fixes a build error. Message-Id: <20210426170820.67042-2-bugaevc@gmail.com>
Diffstat (limited to 'stow.c')
-rw-r--r--stow.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/stow.c b/stow.c
index be1cbad..812d33b 100644
--- a/stow.c
+++ b/stow.c
@@ -169,6 +169,15 @@ begin_using_notify_port (fs_notify_t port)
return ports_lookup_port (stow_port_bucket, port, stow_port_class);
}
+/* Called by MiG to translate ports into stow_notify_t when using the
+ protected payload feature. mutations.h arranges for this to happen
+ for the fs_notify interfaces. */
+stow_notify_t
+begin_using_notify_port_payload (unsigned long payload)
+{
+ return ports_lookup_payload (stow_port_bucket, payload, stow_port_class);
+}
+
/* Called by MiG after server routines have been run; this balances
begin_using_notify_port, and is arranged for the fs_notify
interfaces by mutations.h. */