summaryrefslogtreecommitdiff
path: root/internal/syscallcompat/sys_linux.go
diff options
context:
space:
mode:
authorSebastian Lackner2019-01-14 02:38:34 +0100
committerrfjakob2019-01-14 21:27:28 +0100
commit229a9da74bc0839e2cd481f701c877708b080ede (patch)
treea1eed605271537ce53b76038b51bc0decf9ddf0b /internal/syscallcompat/sys_linux.go
parent42bf6d1c68700a0d5d910c1be42088cc14125fec (diff)
syscallcompat: Drop Unlinkat emulation on macOS.
Diffstat (limited to 'internal/syscallcompat/sys_linux.go')
-rw-r--r--internal/syscallcompat/sys_linux.go5
1 files changed, 0 insertions, 5 deletions
diff --git a/internal/syscallcompat/sys_linux.go b/internal/syscallcompat/sys_linux.go
index c58f51d..28a7149 100644
--- a/internal/syscallcompat/sys_linux.go
+++ b/internal/syscallcompat/sys_linux.go
@@ -80,11 +80,6 @@ func OpenatUser(dirfd int, path string, flags int, mode uint32, context *fuse.Co
return Openat(dirfd, path, flags, mode)
}
-// Unlinkat syscall.
-func Unlinkat(dirfd int, path string, flags int) (err error) {
- return unix.Unlinkat(dirfd, path, flags)
-}
-
// Mknodat wraps the Mknodat syscall.
func Mknodat(dirfd int, path string, mode uint32, dev int) (err error) {
return syscall.Mknodat(dirfd, path, mode, dev)