Commit 80362c9c authored by Han-Wen Nienhuys's avatar Han-Wen Nienhuys

Fix comment regarding FOPEN flags.

parent c3ec767e
......@@ -194,13 +194,6 @@ type SetAttrIn struct {
Unused5 uint32
}
const (
// OpenIn.Flags
FOPEN_DIRECT_IO = (1 << 0)
FOPEN_KEEP_CACHE = (1 << 1)
FOPEN_NONSEEKABLE = (1 << 2)
)
type OpenIn struct {
Flags uint32
Unused uint32
......@@ -213,6 +206,13 @@ type CreateIn struct {
Padding uint32
}
const (
// OpenOut.Flags
FOPEN_DIRECT_IO = (1 << 0)
FOPEN_KEEP_CACHE = (1 << 1)
FOPEN_NONSEEKABLE = (1 << 2)
)
type OpenOut struct {
Fh uint64
OpenFlags 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