aboutsummaryrefslogtreecommitdiff
path: root/internal/fusefrontend/node.go
diff options
context:
space:
mode:
authorJakob Unterwurzacher2021-06-05 15:06:30 +0200
committerJakob Unterwurzacher2021-06-05 15:06:30 +0200
commite48f2377ec46f247d4db04cf8031702d0684c086 (patch)
treee73aaa369c4549c5289e4dcf099cce19fca0f64b /internal/fusefrontend/node.go
parentc0e75302166c9a166526586690086dcd16eff2c2 (diff)
syscallcompat: drop obsolete wrappers
These are now available cross-platform in the unix package.
Diffstat (limited to 'internal/fusefrontend/node.go')
-rw-r--r--internal/fusefrontend/node.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/fusefrontend/node.go b/internal/fusefrontend/node.go
index 87effca..657a3bc 100644
--- a/internal/fusefrontend/node.go
+++ b/internal/fusefrontend/node.go
@@ -287,13 +287,13 @@ func (n *Node) Link(ctx context.Context, target fs.InodeEmbedder, name string, o
return
}
// Create "gocryptfs.longfile." link
- err = syscallcompat.Linkat(dirfd2, cName2, dirfd, cName, 0)
+ err = unix.Linkat(dirfd2, cName2, dirfd, cName, 0)
if err != nil {
nametransform.DeleteLongNameAt(dirfd, cName)
}
} else {
// Create regular link
- err = syscallcompat.Linkat(dirfd2, cName2, dirfd, cName, 0)
+ err = unix.Linkat(dirfd2, cName2, dirfd, cName, 0)
}
if err != nil {
errno = fs.ToErrno(err)