projects
/
reactos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[NTOSKRNL]
[reactos.git]
/
reactos
/
ntoskrnl
/
mm
/
pageop.c
diff --git
a/reactos/ntoskrnl/mm/pageop.c
b/reactos/ntoskrnl/mm/pageop.c
index
15890ea
..
fe19e53
100644
(file)
--- a/
reactos/ntoskrnl/mm/pageop.c
+++ b/
reactos/ntoskrnl/mm/pageop.c
@@
-149,6
+149,9
@@
MmGetPageOp(PMEMORY_AREA MArea, HANDLE Pid, PVOID Address,
Address = (PVOID)PAGE_ROUND_DOWN(Address);
Offset = PAGE_ROUND_DOWN(Offset);
+ /* Making a page op during marea destruction is illegal */
+ ASSERT(!MArea->DeleteInProgress);
+
/*
* Calcuate the hash value for pageop structure
*/