Commit 96b8ce71 authored by Aaron Jacobs's avatar Aaron Jacobs

Fixed a bug: the flags parameter is in and out.

parent 3f954b30
......@@ -159,6 +159,8 @@ func (c *Connection) Init() (err error) {
initOp.MaxReadahead = maxReadahead
initOp.MaxWrite = buffer.MaxWriteSize
initOp.Flags = 0
// Tell the kernel not to use pitifully small 4 KiB writes.
initOp.Flags |= fusekernel.InitBigWrites
......
......@@ -40,9 +40,11 @@ type initOp struct {
// In
Kernel fusekernel.Protocol
// In/out
Flags fusekernel.InitFlags
// Out
Library fusekernel.Protocol
MaxReadahead uint32
Flags fusekernel.InitFlags
MaxWrite uint32
}
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