diff options
author | Jakob Unterwurzacher | 2020-06-21 13:46:08 +0200 |
---|---|---|
committer | Jakob Unterwurzacher | 2020-06-21 13:46:08 +0200 |
commit | 192a29075a7a567931959c2b4c8e4a9513742eee (patch) | |
tree | 4cc2eb036fe60a1e66c6f704a69eadf7fd664d87 /internal/fusefrontend/fs_dir.go | |
parent | f6ded09e36a679695354f4b9bc74242ef399be09 (diff) |
v2api: implement Mkdir
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) } |