projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
68d5450
)
Release the cache segment if the reading of it fails (in CcMapData).
author
Hartmut Birr
<osexpert@googlemail.com>
Wed, 2 Oct 2002 19:23:42 +0000
(19:23 +0000)
committer
Hartmut Birr
<osexpert@googlemail.com>
Wed, 2 Oct 2002 19:23:42 +0000
(19:23 +0000)
svn path=/trunk/; revision=3598
reactos/ntoskrnl/cc/pin.c
patch
|
blob
|
history
diff --git
a/reactos/ntoskrnl/cc/pin.c
b/reactos/ntoskrnl/cc/pin.c
index
1b95439
..
10ce1f9
100644
(file)
--- a/
reactos/ntoskrnl/cc/pin.c
+++ b/
reactos/ntoskrnl/cc/pin.c
@@
-1,4
+1,4
@@
-/* $Id: pin.c,v 1.
7 2002/09/08 10:23:16 chorns
Exp $
+/* $Id: pin.c,v 1.
8 2002/10/02 19:23:42 hbirr
Exp $
*
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS kernel
@@
-85,6
+85,7
@@
CcMapData (IN PFILE_OBJECT FileObject,
}
if (!NT_SUCCESS(ReadCacheSegment(CacheSeg)))
{
+ CcRosReleaseCacheSegment(Bcb, CacheSeg, FALSE, FALSE, FALSE);
return(FALSE);
}
}