From 5f99f5c1a7197e650befca9824438d458c8faf87 Mon Sep 17 00:00:00 2001 From: Robert Naumann Date: Wed, 23 Oct 2019 15:51:35 +0200 Subject: [PATCH] [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 {