mirror of
https://git.openafs.org/openafs.git
synced 2025-01-31 05:27:44 +00:00
Windows: FileStandardInfo Link count
Instead of returning 1 in all cases the ObjectInformation.Links value should be returned to the caller. Change-Id: I719bebca9299953c6afc3352117c1e1bf99d63f6 Reviewed-on: http://gerrit.openafs.org/11507 Tested-by: BuildBot <buildbot@rampaginggeek.com> Reviewed-by: Jeffrey Altman <jaltman@your-file-system.com>
This commit is contained in:
parent
243537f707
commit
8da84729c8
@ -954,7 +954,7 @@ AFSQueryStandardInfo( IN PIRP Irp,
|
||||
RtlZeroMemory( Buffer,
|
||||
*Length);
|
||||
|
||||
Buffer->NumberOfLinks = 1;
|
||||
Buffer->NumberOfLinks = DirectoryCB->ObjectInformation->Links;
|
||||
Buffer->DeletePending = BooleanFlagOn( pCcb->DirectoryCB->Flags, AFS_DIR_ENTRY_PENDING_DELETE);
|
||||
|
||||
Buffer->AllocationSize.QuadPart = DirectoryCB->ObjectInformation->AllocationSize.QuadPart;
|
||||
|
Loading…
x
Reference in New Issue
Block a user