Commit 7448b27b authored by Han-Wen Nienhuys's avatar Han-Wen Nienhuys

fuse: correct definition of unimplemented opcodes.

The CAP_POSIX_ACL and CAP_HANDLE_KILLPRIV opcodes were swapped.
parent 8538d70f
......@@ -47,8 +47,8 @@ func init() {
CAP_WRITEBACK_CACHE: "WRITEBACK_CACHE",
CAP_NO_OPEN_SUPPORT: "NO_OPEN_SUPPORT",
CAP_PARALLEL_DIROPS: "CAP_PARALLEL_DIROPS",
CAP_HANDLE_KILLPRIV: "CAP_PARALLEL_DIROPS",
CAP_POSIX_ACL: "CAP_POSIX_ACL",
CAP_HANDLE_KILLPRIV: "CAP_PARALLEL_DIROPS",
}
releaseFlagNames = map[int64]string{
RELEASE_FLUSH: "FLUSH",
......
......@@ -199,8 +199,8 @@ const (
CAP_WRITEBACK_CACHE = (1 << 16)
CAP_NO_OPEN_SUPPORT = (1 << 17)
CAP_PARALLEL_DIROPS = (1 << 18)
CAP_HANDLE_KILLPRIV = (1 << 19)
CAP_POSIX_ACL = (1 << 20)
CAP_POSIX_ACL = (1 << 19)
CAP_HANDLE_KILLPRIV = (1 << 20)
)
type InitIn struct {
......
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