v2api: fix Mkfifo

This commit is contained in:
Jakob Unterwurzacher 2020-07-12 20:19:29 +02:00
parent 0fa824933c
commit ca5acae6f0

View File

@ -387,7 +387,7 @@ func (n *Node) Statfs(ctx context.Context, out *fuse.StatfsOut) syscall.Errno {
// //
// Symlink-safe through use of Mknodat(). // 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) { 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 { if errno != 0 {
return return
} }