Commit c3487582 authored by Han-Wen Nienhuys's avatar Han-Wen Nienhuys

Add READDIRPLUS boilerplate.

parent 6c43d2aa
...@@ -55,6 +55,7 @@ const ( ...@@ -55,6 +55,7 @@ const (
_OP_NOTIFY_REPLY = int32(41) _OP_NOTIFY_REPLY = int32(41)
_OP_BATCH_FORGET = int32(42) _OP_BATCH_FORGET = int32(42)
_OP_FALLOCATE = int32(43) // protocol version 19. _OP_FALLOCATE = int32(43) // protocol version 19.
_OP_READDIRPLUS = int32(44) // protocol version 21.
// Ugh - what will happen if FUSE introduces a new opcode here? // Ugh - what will happen if FUSE introduces a new opcode here?
_OP_NOTIFY_ENTRY = int32(100) _OP_NOTIFY_ENTRY = int32(100)
...@@ -490,6 +491,7 @@ func init() { ...@@ -490,6 +491,7 @@ func init() {
_OP_NOTIFY_INODE: "NOTIFY_INODE", _OP_NOTIFY_INODE: "NOTIFY_INODE",
_OP_NOTIFY_DELETE: "NOTIFY_DELETE", _OP_NOTIFY_DELETE: "NOTIFY_DELETE",
_OP_FALLOCATE: "FALLOCATE", _OP_FALLOCATE: "FALLOCATE",
_OP_READDIRPLUS: "READDIRPLUS",
} { } {
operationHandlers[op].Name = v operationHandlers[op].Name = v
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment