v2api: fix Mkfifo

This commit is contained in:
Jakob Unterwurzacher 2020-07-12 20:19:29 +02:00
parent 0fa824933c
commit ca5acae6f0
1 changed files with 1 additions and 1 deletions

View File

@ -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
}