[EXT2FS] Ext2Read(): Complete request on VCB_VOLUME_LOCKED case (#4770)
authorSerge Gautherie <32623169+SergeGautherie@users.noreply.github.com>
Wed, 21 Feb 2024 15:31:09 +0000 (16:31 +0100)
committerGitHub <noreply@github.com>
Wed, 21 Feb 2024 15:31:09 +0000 (07:31 -0800)
CORE-10645

Co-authored-by: Victor Martinez Calvo <vicmarcal@gmail.com>
drivers/filesystems/ext2/src/read.c

index b01e97e..b754299 100644 (file)
@@ -905,6 +905,9 @@ Ext2Read (IN PEXT2_IRP_CONTEXT IrpContext)
             if (FlagOn(Vcb->Flags, VCB_VOLUME_LOCKED) &&
                 Vcb->LockFile != FileObject ) {
                 Status = STATUS_ACCESS_DENIED;
+#ifdef __REACTOS__
+                bCompleteRequest = TRUE;
+#endif
                 _SEH2_LEAVE;
             }