[REISERFS] Fix a copy paste Error. CID 1363527
authorRobert Naumann <gonzomdx@gmail.com>
Wed, 23 Oct 2019 13:51:35 +0000 (15:51 +0200)
committerHermès BÉLUSCA - MAÏTO <hermes.belusca-maito@reactos.org>
Wed, 23 Oct 2019 15:23:05 +0000 (17:23 +0200)
drivers/filesystems/reiserfs/src/memory.c

index 6285f46..3bbdde5 100644 (file)
@@ -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
             {