mirror of
https://github.com/reactos/reactos.git
synced 2025-08-04 08:15:41 +00:00
[NTOSKRNL]
Get rid off TAG macro svn path=/trunk/; revision=55929
This commit is contained in:
parent
bc96c38875
commit
171a3edfaa
2 changed files with 2 additions and 6 deletions
|
@ -495,7 +495,7 @@ FsRtlNotifyInitializeSync(IN PNOTIFY_SYNC *NotifySync)
|
||||||
*NotifySync = NULL;
|
*NotifySync = NULL;
|
||||||
|
|
||||||
RealNotifySync = ExAllocatePoolWithTag(NonPagedPool | POOL_RAISE_IF_ALLOCATION_FAILURE,
|
RealNotifySync = ExAllocatePoolWithTag(NonPagedPool | POOL_RAISE_IF_ALLOCATION_FAILURE,
|
||||||
sizeof(REAL_NOTIFY_SYNC), TAG('F', 'S', 'N', 'S'));
|
sizeof(REAL_NOTIFY_SYNC), 'FSNS');
|
||||||
ExInitializeFastMutex(&(RealNotifySync->FastMutex));
|
ExInitializeFastMutex(&(RealNotifySync->FastMutex));
|
||||||
RealNotifySync->OwningThread = 0;
|
RealNotifySync->OwningThread = 0;
|
||||||
RealNotifySync->OwnerCount = 0;
|
RealNotifySync->OwnerCount = 0;
|
||||||
|
@ -570,7 +570,7 @@ FsRtlNotifyUninitializeSync(IN PNOTIFY_SYNC *NotifySync)
|
||||||
{
|
{
|
||||||
if (*NotifySync)
|
if (*NotifySync)
|
||||||
{
|
{
|
||||||
ExFreePoolWithTag(*NotifySync, TAG('F', 'S', 'N', 'S'));
|
ExFreePoolWithTag(*NotifySync, 'FSNS');
|
||||||
*NotifySync = NULL;
|
*NotifySync = NULL;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -6,10 +6,6 @@
|
||||||
* PROGRAMMERS: Alex Ionescu (alex.ionescu@reactos.org)
|
* PROGRAMMERS: Alex Ionescu (alex.ionescu@reactos.org)
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef TAG
|
|
||||||
#define TAG(w,x,y,z) (((w)<<24)|((x)<<16)|((y)<<8)|(z))
|
|
||||||
#endif
|
|
||||||
|
|
||||||
//
|
//
|
||||||
// Define this if you want debugging support
|
// Define this if you want debugging support
|
||||||
//
|
//
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue