Skip to content

Commit 256540b

Browse files
committed
[NTOSKRNL]
Use LIST_ENTRY not pointer on them as head svn path=/trunk/; revision=55930
1 parent 171a3ed commit 256540b

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

reactos/ntoskrnl/fsrtl/notify.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -178,12 +178,12 @@ FsRtlNotifyCleanup(IN PNOTIFY_SYNC NotifySync,
178178
NotifyChange->Flags |= CLEANUP_IN_PROCESS;
179179

180180
/* If there are pending IRPs, complete them using the STATUS_NOTIFY_CLEANUP status */
181-
if (!IsListEmpty(NotifyChange->NotifyIrps))
181+
if (!IsListEmpty(&NotifyChange->NotifyIrps))
182182
{
183183
FsRtlNotifyCompleteIrpList(NotifyChange, STATUS_NOTIFY_CLEANUP);
184184
}
185185
/* Remove from the list */
186-
RemoveEntryList(NotifyChange->NotifyList);
186+
RemoveEntryList(&NotifyChange->NotifyList);
187187

188188
/* Downcrease reference number and if 0 is reached, it's time to do complete cleanup */
189189
if (!InterlockedDecrement((PLONG)&(NotifyChange->ReferenceCount)))

reactos/ntoskrnl/include/internal/fsrtl.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,8 @@ typedef struct _NOTIFY_CHANGE
7575
PCHECK_FOR_TRAVERSE_ACCESS TraverseCallback;
7676
PSECURITY_SUBJECT_CONTEXT SubjectContext;
7777
PSTRING FullDirectoryName;
78-
PLIST_ENTRY NotifyList;
79-
PLIST_ENTRY NotifyIrps;
78+
LIST_ENTRY NotifyList;
79+
LIST_ENTRY NotifyIrps;
8080
PFILTER_REPORT_CHANGE FilterCallback;
8181
USHORT Flags;
8282
UCHAR CharacterSize;

0 commit comments

Comments
 (0)