mirror of
https://github.com/reactos/reactos.git
synced 2024-11-24 03:53:31 +08:00
[NTOSKRNL] Make the CcWaitForCurrentLazyWriterActivity() stub return success instead of hacking FSDs.
Suggested by Thomas
This commit is contained in:
parent
03d5be6437
commit
e88eeb21af
@ -225,16 +225,6 @@ Return Value:
|
||||
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
|
||||
|
@ -895,23 +895,6 @@ Index: drivers/filesystems/cdfs_new/fsctrl.c
|
||||
CdIsVolumeDirty (
|
||||
IN PIRP_CONTEXT IrpContext,
|
||||
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 @@
|
||||
|
||||
if (CdIsRemount( IrpContext, Vcb, &OldVcb )) {
|
||||
|
@ -524,7 +524,7 @@ CcWaitForCurrentLazyWriterActivity (
|
||||
VOID)
|
||||
{
|
||||
UNIMPLEMENTED;
|
||||
return STATUS_NOT_IMPLEMENTED;
|
||||
return STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user