diff options
author | Sebastian Lackner | 2017-11-29 12:23:40 +0100 |
---|---|---|
committer | Sebastian Lackner | 2017-11-29 12:41:23 +0100 |
commit | 0f44c617d01f3e203933459be5fb64c1904d40b6 (patch) | |
tree | 14e266ea6e8218d04c58b6dd622ab68810792550 /internal/fusefrontend/fs.go | |
parent | 5d44a31b412e3db07313d3f7e839e2838cff67c0 (diff) |
syscallcompat: Introduce unlinkat syscall with flags argument
Diffstat (limited to 'internal/fusefrontend/fs.go')
-rw-r--r-- | internal/fusefrontend/fs.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/fusefrontend/fs.go b/internal/fusefrontend/fs.go index 08edd2b..002b4e1 100644 --- a/internal/fusefrontend/fs.go +++ b/internal/fusefrontend/fs.go @@ -388,7 +388,7 @@ func (fs *FS) Unlink(path string, context *fuse.Context) (code fuse.Status) { } defer dirfd.Close() // Delete content - err = syscallcompat.Unlinkat(int(dirfd.Fd()), cName) + err = syscallcompat.Unlinkat(int(dirfd.Fd()), cName, 0) if err != nil { return fuse.ToStatus(err) } |