[EXT2FS] Ext2Read(): Complete request on VCB_VOLUME_LOCKED case (#4770)

CORE-10645

Co-authored-by: Victor Martinez Calvo <vicmarcal@gmail.com>
This commit is contained in:
Serge Gautherie 2024-02-21 16:31:09 +01:00 committed by GitHub
parent a55345be29
commit 0086d05007
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View 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;
}