diff options
Diffstat (limited to 'internal/fusefrontend')
-rw-r--r-- | internal/fusefrontend/node.go | 4 |
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) |