projects
/
reactos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
- Support INIT section pragmas for msvc. Patch by Brezenbak.
[reactos.git]
/
reactos
/
ntoskrnl
/
fs
/
filelock.c
diff --git
a/reactos/ntoskrnl/fs/filelock.c
b/reactos/ntoskrnl/fs/filelock.c
index
a37f5e2
..
5889e1a
100644
(file)
--- a/
reactos/ntoskrnl/fs/filelock.c
+++ b/
reactos/ntoskrnl/fs/filelock.c
@@
-12,6
+12,11
@@
#define NDEBUG
#include <internal/debug.h>
+#if defined (ALLOC_PRAGMA)
+#pragma alloc_text(INIT, FsRtlpInitFileLockingImplementation)
+#endif
+
+
/*
NOTE:
I'm not using resource syncronization here, since FsRtlFastCheckLockForRead/Write