fusefrontend: Do not pass unsupported flags to Faccessat on macOS.

Fixes mounting of forward mounts on macOS High Sierra.
Sebastian Lackner 2019-01-13 00:53:02 +01:00 committed by Jakob Unterwurzacher
parent 711ef81bfb
commit d44fe89ba4
1 changed files with 1 additions and 1 deletions

View File

@ -620,7 +620,7 @@ func (fs *FS) Access(relPath string, mode uint32, context *fuse.Context) (code f
if err != nil {
return fuse.ToStatus(err)
err = unix.Faccessat(dirfd, cName, mode, unix.AT_SYMLINK_NOFOLLOW)
err = syscallcompat.Faccessat(dirfd, cName, mode)
return fuse.ToStatus(err)