Author: pschweitzer
Date: Mon Jul 28 04:23:56 2008
New Revision: 34895
URL:
http://svn.reactos.org/svn/reactos?rev=34895&view=rev
Log:
- Implemented FsRtlInitializeOplock
- Implemented FsRtlNotifyUninitializeSync
- Updated kernel exports
Modified:
branches/pierre-fsd/ntoskrnl/fsrtl/notify.c
branches/pierre-fsd/ntoskrnl/fsrtl/oplock.c
branches/pierre-fsd/ntoskrnl/ntoskrnl_i386.def
Modified: branches/pierre-fsd/ntoskrnl/fsrtl/notify.c
URL:
http://svn.reactos.org/svn/reactos/branches/pierre-fsd/ntoskrnl/fsrtl/notif…
==============================================================================
--- branches/pierre-fsd/ntoskrnl/fsrtl/notify.c [iso-8859-1] (original)
+++ branches/pierre-fsd/ntoskrnl/fsrtl/notify.c [iso-8859-1] Mon Jul 28 04:23:56 2008
@@ -404,6 +404,10 @@
NTAPI
FsRtlNotifyUninitializeSync(IN PNOTIFY_SYNC *NotifySync)
{
- KEBUGCHECK(0);
-}
-
+ if (*NotifySync)
+ {
+ ExFreePoolWithTag(*NotifySync, TAG('F', 'S', 'N',
'S'));
+ *NotifySync = NULL;
+ }
+}
+
Modified: branches/pierre-fsd/ntoskrnl/fsrtl/oplock.c
URL:
http://svn.reactos.org/svn/reactos/branches/pierre-fsd/ntoskrnl/fsrtl/oploc…
==============================================================================
--- branches/pierre-fsd/ntoskrnl/fsrtl/oplock.c [iso-8859-1] (original)
+++ branches/pierre-fsd/ntoskrnl/fsrtl/oplock.c [iso-8859-1] Mon Jul 28 04:23:56 2008
@@ -78,24 +78,23 @@
/*++
* @name FsRtlInitializeOplock
- * @unimplemented
+ * @implemented
*
- * FILLME
+ * This function initializes the given opportunistic lock pointer
*
* @param Oplock
- * FILLME
+ * The opportunistic lock to initialize
*
* @return None
*
- * @remarks None
+ * @remarks Truth is this function does nothing!
*
*--*/
VOID
NTAPI
FsRtlInitializeOplock(IN OUT POPLOCK Oplock)
{
- /* Unimplemented */
- KEBUGCHECK(0);
+ UNREFERENCED_PARAMETER(Oplock);
}
/*++
Modified: branches/pierre-fsd/ntoskrnl/ntoskrnl_i386.def
URL:
http://svn.reactos.org/svn/reactos/branches/pierre-fsd/ntoskrnl/ntoskrnl_i3…
==============================================================================
--- branches/pierre-fsd/ntoskrnl/ntoskrnl_i386.def [iso-8859-1] (original)
+++ branches/pierre-fsd/ntoskrnl/ntoskrnl_i386.def [iso-8859-1] Mon Jul 28 04:23:56 2008
@@ -228,7 +228,7 @@
FsRtlInitializeFileLock@12
FsRtlInitializeLargeMcb
FsRtlInitializeMcb
-FsRtlInitializeOplock
+FsRtlInitializeOplock@4
FsRtlInitializeTunnelCache
FsRtlInsertPerFileObjectContext
FsRtlInsertPerStreamContext
@@ -265,7 +265,7 @@
FsRtlNotifyFullReportChange
FsRtlNotifyInitializeSync
FsRtlNotifyReportChange
-FsRtlNotifyUninitializeSync
+FsRtlNotifyUninitializeSync@4
FsRtlNotifyVolumeEvent
FsRtlNumberOfRunsInBaseMcb
FsRtlNumberOfRunsInLargeMcb