aboutsummaryrefslogtreecommitdiff
path: root/internal/fusefrontend/xattr_linux.go
diff options
context:
space:
mode:
authorBolshevik2018-05-01 18:46:51 +0200
committerJakob Unterwurzacher2018-05-07 21:45:40 +0200
commit5ccc06d5cb321b1400e33a7d0819bf617c52600d (patch)
treed9399abae93ddff2f9d549b7cd8290a75f42e7a0 /internal/fusefrontend/xattr_linux.go
parent95964fb5f0646ffb21d7b67ac9077ba2ef880526 (diff)
xattr: added passing of a "flags" parameter
Pass the "flags" parameter to the lower layer syscall. This makes Apple applications being able to successfully save data.
Diffstat (limited to 'internal/fusefrontend/xattr_linux.go')
-rw-r--r--internal/fusefrontend/xattr_linux.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/internal/fusefrontend/xattr_linux.go b/internal/fusefrontend/xattr_linux.go
index ebe42b1..61b90e3 100644
--- a/internal/fusefrontend/xattr_linux.go
+++ b/internal/fusefrontend/xattr_linux.go
@@ -13,3 +13,7 @@ const xattrUserPrefix = "user."
func disallowedXAttrName(attr string) bool {
return !strings.HasPrefix(attr, xattrUserPrefix)
}
+
+func filterXattrSetFlags(flags int) int {
+ return flags
+}