https://git.reactos.org/?p=reactos.git;a=commitdiff;h=5f99f5c1a7197e650befc…
commit 5f99f5c1a7197e650befca9824438d458c8faf87
Author: Robert Naumann <gonzomdx(a)gmail.com>
AuthorDate: Wed Oct 23 15:51:35 2019 +0200
Commit: Hermès BÉLUSCA - MAÏTO <hermes.belusca-maito(a)reactos.org>
CommitDate: Wed Oct 23 17:23:05 2019 +0200
[REISERFS] Fix a copy paste Error. CID 1363527
---
drivers/filesystems/reiserfs/src/memory.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/filesystems/reiserfs/src/memory.c
b/drivers/filesystems/reiserfs/src/memory.c
index 6285f4632c6..3bbdde5f6ee 100644
--- a/drivers/filesystems/reiserfs/src/memory.c
+++ b/drivers/filesystems/reiserfs/src/memory.c
@@ -1373,8 +1373,8 @@ RfsdInitializeVcb( IN PRFSD_IRP_CONTEXT IrpContext,
Vcb->StreamObj->ReadAccess = TRUE;
if (IsFlagOn(Vcb->Flags, VCB_READ_ONLY))
{
- Vcb->StreamObj->WriteAccess = TRUE;
- Vcb->StreamObj->DeleteAccess = TRUE;
+ Vcb->StreamObj->WriteAccess = FALSE;
+ Vcb->StreamObj->DeleteAccess = FALSE;
}
else
{