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 {
......@@ -387,7 +387,7 @@ const (
// NOTIFY_POLL = -1
NOTIFY_INVAL_INODE = -2
NOTIFY_INVAL_ENTRY = -3
NOTIFY_STORE = -4
NOTIFY_STORE = -4
// NOTIFY_RETRIEVE = -5
NOTIFY_INVAL_DELETE = -6
......
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