[NTOSKRNL]
authorPierre Schweitzer <pierre@reactos.org>
Wed, 29 Feb 2012 19:26:43 +0000 (19:26 +0000)
committerPierre Schweitzer <pierre@reactos.org>
Wed, 29 Feb 2012 19:26:43 +0000 (19:26 +0000)
Use LIST_ENTRY not pointer on them as head

svn path=/trunk/; revision=55930

reactos/ntoskrnl/fsrtl/notify.c
reactos/ntoskrnl/include/internal/fsrtl.h

index 7a0b229..f2b6c82 100644 (file)
@@ -178,12 +178,12 @@ FsRtlNotifyCleanup(IN PNOTIFY_SYNC NotifySync,
             NotifyChange->Flags |= CLEANUP_IN_PROCESS;
 
             /* 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);
             }
             /* 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 */
             if (!InterlockedDecrement((PLONG)&(NotifyChange->ReferenceCount)))
index 7f759b9..e403bbd 100644 (file)
@@ -75,8 +75,8 @@ typedef struct _NOTIFY_CHANGE
     PCHECK_FOR_TRAVERSE_ACCESS TraverseCallback;
     PSECURITY_SUBJECT_CONTEXT SubjectContext;
     PSTRING FullDirectoryName;
-    PLIST_ENTRY NotifyList;
-    PLIST_ENTRY NotifyIrps;
+    LIST_ENTRY NotifyList;
+    LIST_ENTRY NotifyIrps;
     PFILTER_REPORT_CHANGE FilterCallback;
     USHORT Flags;
     UCHAR CharacterSize;