projects
/
reactos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
* Sync up to trunk head (r65183).
[reactos.git]
/
drivers
/
filesystems
/
fastfat
/
fcb.c
diff --git
a/drivers/filesystems/fastfat/fcb.c
b/drivers/filesystems/fastfat/fcb.c
index
c698ba7
..
d443be3
100644
(file)
--- a/
drivers/filesystems/fastfat/fcb.c
+++ b/
drivers/filesystems/fastfat/fcb.c
@@
-294,6
+294,7
@@
vfatGrabFCB(
{
ASSERT(ExIsResourceAcquiredExclusive(&pVCB->DirResource));
+ ASSERT(pFCB != pVCB->VolumeFcb);
++pFCB->RefCount;
}
@@
-311,6
+312,7
@@
vfatReleaseFCB(
while (pFCB)
{
+ ASSERT(pFCB != pVCB->VolumeFcb);
pFCB->RefCount--;
if (pFCB->RefCount == 0)
{