diff options
author | Jakob Unterwurzacher | 2018-09-22 20:10:34 +0200 |
---|---|---|
committer | Jakob Unterwurzacher | 2018-09-23 12:17:26 +0200 |
commit | c270b21efc1d9ecbe5c913c733204f826e263747 (patch) | |
tree | f001342e38ab81eeea1292c7a405d30321624b6d /tests/test_helpers | |
parent | 22fba4ac3ed09ba07d1defb60436fb7a17095d09 (diff) |
fusefrontend: get rid of os.File* wrapping
Directly use int file descriptors for the dirfd
and get rid of one level of indirection.
Diffstat (limited to 'tests/test_helpers')
-rw-r--r-- | tests/test_helpers/helpers.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_helpers/helpers.go b/tests/test_helpers/helpers.go index 479bf72..b36056e 100644 --- a/tests/test_helpers/helpers.go +++ b/tests/test_helpers/helpers.go @@ -110,7 +110,7 @@ func ResetTmpDir(createDirIV bool) { panic(err) } if createDirIV { - err = nametransform.WriteDirIV(nil, DefaultCipherDir) + err = nametransform.WriteDirIV(-1, DefaultCipherDir) if err != nil { panic(err) } |