Fix #213 and a typo in macro FSP_FUSE_CTLCODE_FROM_IOCTL

This commit is contained in:
Fritz Elfert
2019-02-12 11:51:07 +01:00
parent 0eb84d68e2
commit f97b8fcc3a
2 changed files with 2 additions and 1 deletions

View File

@ -2168,6 +2168,7 @@ static NTSTATUS fsp_fuse_intf_Control(FSP_FILE_SYSTEM *FileSystem,
memcpy(OutputBuffer, InputBuffer, InputBufferLength);
err = f->ops.ioctl(filedesc->PosixPath, cmd, 0, &fi, 0, OutputBuffer);
}
*PBytesTransferred = OutputBufferLength;
return fsp_fuse_ntstatus_from_errno(f->env, err);
}