https://git.reactos.org/?p=reactos.git;a=commitdiff;h=0086d05007aaa4505afd5…
commit 0086d05007aaa4505afd5e1f38c87ac965aac840
Author: Serge Gautherie <32623169+SergeGautherie(a)users.noreply.github.com>
AuthorDate: Wed Feb 21 16:31:09 2024 +0100
Commit: GitHub <noreply(a)github.com>
CommitDate: Wed Feb 21 07:31:09 2024 -0800
[EXT2FS] Ext2Read(): Complete request on VCB_VOLUME_LOCKED case (#4770)
CORE-10645
Co-authored-by: Victor Martinez Calvo <vicmarcal(a)gmail.com>
---
drivers/filesystems/ext2/src/read.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/filesystems/ext2/src/read.c b/drivers/filesystems/ext2/src/read.c
index b01e97e1c35..b754299b496 100644
--- a/drivers/filesystems/ext2/src/read.c
+++ b/drivers/filesystems/ext2/src/read.c
@@ -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;
}