summaryrefslogtreecommitdiff
path: root/internal/fusefrontend
diff options
context:
space:
mode:
authorJakob Unterwurzacher2020-07-12 20:19:29 +0200
committerJakob Unterwurzacher2020-07-12 20:19:29 +0200
commitca5acae6f093f3e34d2a463d14f9ccc4e6d5096d (patch)
tree2a32b2bdbd3357637f87a0930069f628d463a3b8 /internal/fusefrontend
parent0fa824933cfc8788450138a2d2e52c3dea2e592f (diff)
v2api: fix Mkfifo
Diffstat (limited to 'internal/fusefrontend')
-rw-r--r--internal/fusefrontend/node.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/fusefrontend/node.go b/internal/fusefrontend/node.go
index b03829e..408bfea 100644
--- a/internal/fusefrontend/node.go
+++ b/internal/fusefrontend/node.go
@@ -387,7 +387,7 @@ func (n *Node) Statfs(ctx context.Context, out *fuse.StatfsOut) syscall.Errno {
//
// Symlink-safe through use of Mknodat().
func (n *Node) Mknod(ctx context.Context, name string, mode, rdev uint32, out *fuse.EntryOut) (inode *fs.Inode, errno syscall.Errno) {
- dirfd, cName, errno := n.prepareAtSyscall("")
+ dirfd, cName, errno := n.prepareAtSyscall(name)
if errno != 0 {
return
}