summaryrefslogtreecommitdiff
path: root/core/ninep/tree.zig
diff options
context:
space:
mode:
Diffstat (limited to 'core/ninep/tree.zig')
-rw-r--r--core/ninep/tree.zig5
1 files changed, 3 insertions, 2 deletions
diff --git a/core/ninep/tree.zig b/core/ninep/tree.zig
index 107479f6..3eeb5d3f 100644
--- a/core/ninep/tree.zig
+++ b/core/ninep/tree.zig
@@ -126,8 +126,8 @@ pub const out_reserve = 4 * 1024;
pub const Open = struct {
/// A client's join carries it and the digest covers it (fs.Namespace),
/// but what only its reader is answered with: the listener's held
- /// read, the stream's last answer, the panes a look or exec touched.
- pub const replica = .{ .authority = .{ "results", "held", "replay" } };
+ /// read and the stream's last answer.
+ pub const replica = .{ .authority = .{ "held", "replay" } };
/// The node it was opened on, which every use checks; 0 is a free record.
node: u64 = 0,
what: What = .{ .snapshot = null },
@@ -216,6 +216,7 @@ pub const Open = struct {
pub const Replay = struct { off: u64, bytes: []u8 };
pub const Results = struct {
+ pub const replica = .{ .len = .{.{ "list", "len" }} };
list: [pardes.MAX_PANES]u32 = undefined,
len: u8 = 0,
/// Written on: reads are a stream from the write on, whatever