diff options
Diffstat (limited to 'internal/fusefrontend/fs_dir.go')
-rw-r--r-- | internal/fusefrontend/fs_dir.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/fusefrontend/fs_dir.go b/internal/fusefrontend/fs_dir.go index 8481d56..0d8adae 100644 --- a/internal/fusefrontend/fs_dir.go +++ b/internal/fusefrontend/fs_dir.go @@ -30,7 +30,7 @@ func (fs *FS) mkdirWithIv(dirfd int, cName string, mode uint32, context *fuse.Co // from seeing it. fs.dirIVLock.Lock() defer fs.dirIVLock.Unlock() - err := syscallcompat.MkdiratUser(dirfd, cName, mode, context) + err := syscallcompat.MkdiratUser(dirfd, cName, mode, &context.Caller) if err != nil { return err } @@ -67,7 +67,7 @@ func (fs *FS) Mkdir(newPath string, mode uint32, context *fuse.Context) (code fu context = nil } if fs.args.PlaintextNames { - err = syscallcompat.MkdiratUser(dirfd, cName, mode, context) + err = syscallcompat.MkdiratUser(dirfd, cName, mode, &context.Caller) return fuse.ToStatus(err) } |