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/nametransform | |
parent | 5d44a31b412e3db07313d3f7e839e2838cff67c0 (diff) |
syscallcompat: Introduce unlinkat syscall with flags argument
Diffstat (limited to 'internal/nametransform')
-rw-r--r-- | internal/nametransform/longnames.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/nametransform/longnames.go b/internal/nametransform/longnames.go index 7cd904e..614af47 100644 --- a/internal/nametransform/longnames.go +++ b/internal/nametransform/longnames.go @@ -90,7 +90,7 @@ func ReadLongName(path string) (string, error) { // DeleteLongName deletes "hashName.name". func DeleteLongName(dirfd *os.File, hashName string) error { - err := syscallcompat.Unlinkat(int(dirfd.Fd()), hashName+LongNameSuffix) + err := syscallcompat.Unlinkat(int(dirfd.Fd()), hashName+LongNameSuffix, 0) if err != nil { tlog.Warn.Printf("DeleteLongName: %v", err) } |