adding back unimplemented functions
just in case some of them are required and will cause a kernel crash if function pointer is dereferenced.
This commit is contained in:
parent
50a19f7762
commit
03bc4d4c2e
1 changed files with 20 additions and 0 deletions
|
|
@ -5570,6 +5570,19 @@ out:
|
||||||
return status;
|
return status;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
NTSTATUS nfs41_Unimplemented(
|
||||||
|
PRX_CONTEXT RxContext)
|
||||||
|
{
|
||||||
|
return STATUS_NOT_IMPLEMENTED;
|
||||||
|
}
|
||||||
|
|
||||||
|
NTSTATUS nfs41_AreFilesAliased(
|
||||||
|
PFCB a,
|
||||||
|
PFCB b)
|
||||||
|
{
|
||||||
|
return STATUS_NOT_IMPLEMENTED;
|
||||||
|
}
|
||||||
|
|
||||||
NTSTATUS nfs41_init_ops()
|
NTSTATUS nfs41_init_ops()
|
||||||
{
|
{
|
||||||
DbgEn();
|
DbgEn();
|
||||||
|
|
@ -5667,6 +5680,13 @@ NTSTATUS nfs41_init_ops()
|
||||||
nfs41_CompleteBufferingStateChangeRequest;
|
nfs41_CompleteBufferingStateChangeRequest;
|
||||||
nfs41_ops.MRxIsValidDirectory = nfs41_IsValidDirectory;
|
nfs41_ops.MRxIsValidDirectory = nfs41_IsValidDirectory;
|
||||||
|
|
||||||
|
nfs41_ops.MRxTruncate = nfs41_Unimplemented;
|
||||||
|
nfs41_ops.MRxZeroExtend = nfs41_Unimplemented;
|
||||||
|
nfs41_ops.MRxAreFilesAliased = nfs41_AreFilesAliased;
|
||||||
|
nfs41_ops.MRxQueryQuotaInfo = nfs41_Unimplemented;
|
||||||
|
nfs41_ops.MRxSetQuotaInfo = nfs41_Unimplemented;
|
||||||
|
nfs41_ops.MRxSetVolumeInfo = nfs41_Unimplemented;
|
||||||
|
|
||||||
DbgR();
|
DbgR();
|
||||||
return(STATUS_SUCCESS);
|
return(STATUS_SUCCESS);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue