mirror of
https://github.com/reactos/reactos.git
synced 2025-07-01 09:11:21 +00:00
[NTOSKRNL]
Use LIST_ENTRY not pointer on them as head svn path=/trunk/; revision=55930
This commit is contained in:
parent
171a3edfaa
commit
256540b703
2 changed files with 4 additions and 4 deletions
|
@ -178,12 +178,12 @@ FsRtlNotifyCleanup(IN PNOTIFY_SYNC NotifySync,
|
||||||
NotifyChange->Flags |= CLEANUP_IN_PROCESS;
|
NotifyChange->Flags |= CLEANUP_IN_PROCESS;
|
||||||
|
|
||||||
/* If there are pending IRPs, complete them using the STATUS_NOTIFY_CLEANUP status */
|
/* If there are pending IRPs, complete them using the STATUS_NOTIFY_CLEANUP status */
|
||||||
if (!IsListEmpty(NotifyChange->NotifyIrps))
|
if (!IsListEmpty(&NotifyChange->NotifyIrps))
|
||||||
{
|
{
|
||||||
FsRtlNotifyCompleteIrpList(NotifyChange, STATUS_NOTIFY_CLEANUP);
|
FsRtlNotifyCompleteIrpList(NotifyChange, STATUS_NOTIFY_CLEANUP);
|
||||||
}
|
}
|
||||||
/* Remove from the list */
|
/* Remove from the list */
|
||||||
RemoveEntryList(NotifyChange->NotifyList);
|
RemoveEntryList(&NotifyChange->NotifyList);
|
||||||
|
|
||||||
/* Downcrease reference number and if 0 is reached, it's time to do complete cleanup */
|
/* Downcrease reference number and if 0 is reached, it's time to do complete cleanup */
|
||||||
if (!InterlockedDecrement((PLONG)&(NotifyChange->ReferenceCount)))
|
if (!InterlockedDecrement((PLONG)&(NotifyChange->ReferenceCount)))
|
||||||
|
|
|
@ -75,8 +75,8 @@ typedef struct _NOTIFY_CHANGE
|
||||||
PCHECK_FOR_TRAVERSE_ACCESS TraverseCallback;
|
PCHECK_FOR_TRAVERSE_ACCESS TraverseCallback;
|
||||||
PSECURITY_SUBJECT_CONTEXT SubjectContext;
|
PSECURITY_SUBJECT_CONTEXT SubjectContext;
|
||||||
PSTRING FullDirectoryName;
|
PSTRING FullDirectoryName;
|
||||||
PLIST_ENTRY NotifyList;
|
LIST_ENTRY NotifyList;
|
||||||
PLIST_ENTRY NotifyIrps;
|
LIST_ENTRY NotifyIrps;
|
||||||
PFILTER_REPORT_CHANGE FilterCallback;
|
PFILTER_REPORT_CHANGE FilterCallback;
|
||||||
USHORT Flags;
|
USHORT Flags;
|
||||||
UCHAR CharacterSize;
|
UCHAR CharacterSize;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue