v2api: fix Mkfifo
This commit is contained in:
parent
0fa824933c
commit
ca5acae6f0
@ -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
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user