symlinks: GetReparsePoint will return NOT_A_REPARSE_POINT
Signed-off-by: Casey Bodley <cbodley@citi.umich.edu>
This commit is contained in:
parent
7eae229661
commit
4398678517
1 changed files with 8 additions and 0 deletions
|
|
@ -4341,6 +4341,14 @@ static NTSTATUS nfs41_GetReparsePoint(
|
|||
NTSTATUS status;
|
||||
|
||||
DbgEn();
|
||||
|
||||
if (!BooleanFlagOn(RxContext->pFcb->Attributes,
|
||||
FILE_ATTRIBUTE_REPARSE_POINT)) {
|
||||
status = STATUS_NOT_A_REPARSE_POINT;
|
||||
DbgP("FILE_ATTRIBUTE_REPARSE_POINT is not set!\n");
|
||||
goto out;
|
||||
}
|
||||
|
||||
if (FsCtl->OutputBufferLength < HeaderLen) {
|
||||
RxContext->InformationToReturn = HeaderLen;
|
||||
status = STATUS_BUFFER_TOO_SMALL;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue