mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 18:15:11 +00:00
[NTOSKRNL] Make the CcWaitForCurrentLazyWriterActivity() stub return success instead of hacking FSDs.
Suggested by Thomas
This commit is contained in:
parent
03d5be6437
commit
e88eeb21af
3 changed files with 1 additions and 28 deletions
|
@ -225,16 +225,6 @@ Return Value:
|
||||||
CdReleaseVcb( IrpContext, Vcb );
|
CdReleaseVcb( IrpContext, Vcb );
|
||||||
|
|
||||||
Status = CcWaitForCurrentLazyWriterActivity();
|
Status = CcWaitForCurrentLazyWriterActivity();
|
||||||
#ifdef __REACTOS__
|
|
||||||
if (Status == STATUS_NOT_IMPLEMENTED)
|
|
||||||
{
|
|
||||||
Status = STATUS_SUCCESS;
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
DbgPrint("CcWaitForCurrentLazyWriterActivity got implemented! Remove hack in %s:%s\n", __FILE__, __LINE__);
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
|
|
||||||
//
|
//
|
||||||
// This is intentional. If we were able to get the Vcb before, just
|
// This is intentional. If we were able to get the Vcb before, just
|
||||||
|
|
|
@ -895,23 +895,6 @@ Index: drivers/filesystems/cdfs_new/fsctrl.c
|
||||||
CdIsVolumeDirty (
|
CdIsVolumeDirty (
|
||||||
IN PIRP_CONTEXT IrpContext,
|
IN PIRP_CONTEXT IrpContext,
|
||||||
IN PIRP Irp
|
IN PIRP Irp
|
||||||
@@ -225,6 +225,16 @@
|
|
||||||
CdReleaseVcb( IrpContext, Vcb );
|
|
||||||
|
|
||||||
Status = CcWaitForCurrentLazyWriterActivity();
|
|
||||||
+#ifdef __REACTOS__
|
|
||||||
+ if (Status == STATUS_NOT_IMPLEMENTED)
|
|
||||||
+ {
|
|
||||||
+ Status = STATUS_SUCCESS;
|
|
||||||
+ }
|
|
||||||
+ else
|
|
||||||
+ {
|
|
||||||
+ DbgPrint("CcWaitForCurrentLazyWriterActivity got implemented! Remove hack in %s:%s\n", __FILE__, __LINE__);
|
|
||||||
+ }
|
|
||||||
+#endif
|
|
||||||
|
|
||||||
//
|
|
||||||
// This is intentional. If we were able to get the Vcb before, just
|
|
||||||
@@ -918,7 +919,7 @@
|
@@ -918,7 +919,7 @@
|
||||||
|
|
||||||
if (CdIsRemount( IrpContext, Vcb, &OldVcb )) {
|
if (CdIsRemount( IrpContext, Vcb, &OldVcb )) {
|
||||||
|
|
|
@ -524,7 +524,7 @@ CcWaitForCurrentLazyWriterActivity (
|
||||||
VOID)
|
VOID)
|
||||||
{
|
{
|
||||||
UNIMPLEMENTED;
|
UNIMPLEMENTED;
|
||||||
return STATUS_NOT_IMPLEMENTED;
|
return STATUS_SUCCESS;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Reference in a new issue