From e48f2377ec46f247d4db04cf8031702d0684c086 Mon Sep 17 00:00:00 2001
From: Jakob Unterwurzacher
Date: Sat, 5 Jun 2021 15:06:30 +0200
Subject: syscallcompat: drop obsolete wrappers

These are now available cross-platform in the unix
package.
---
 internal/fusefrontend/node.go | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'internal/fusefrontend')

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)
-- 
cgit v1.2.3