Merge pull request #214 from felfert/fix-fuse-ioctl

Fix #213 and a typo in macro FSP_FUSE_CTLCODE_FROM_IOCTL
This commit is contained in:
Bill Zissimopoulos
2019-02-12 10:29:55 -08:00
committed by GitHub
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);
}