https://git.reactos.org/?p=reactos.git;a=commitdiff;h=1986049a380373cd3b5279bc8489ea66363faf41

commit 1986049a380373cd3b5279bc8489ea66363faf41
Author:     Pierre Schweitzer <[email protected]>
AuthorDate: Sun Feb 25 10:13:15 2018 +0100
Commit:     Pierre Schweitzer <[email protected]>
CommitDate: Sun Feb 25 10:14:27 2018 +0100

    [CDFS_NEW] Sync with HEAD.
    
    CORE-14315
---
 drivers/filesystems/cdfs_new/resrcsup.c | 7 +------
 media/doc/README.FSD                    | 2 +-
 2 files changed, 2 insertions(+), 7 deletions(-)

diff --git a/drivers/filesystems/cdfs_new/resrcsup.c 
b/drivers/filesystems/cdfs_new/resrcsup.c
index 3bb38bb529..9b1d4ae83a 100755
--- a/drivers/filesystems/cdfs_new/resrcsup.c
+++ b/drivers/filesystems/cdfs_new/resrcsup.c
@@ -164,20 +164,15 @@ Return Value:
 {
     PAGED_CODE();
 
-#ifdef __REACTOS__
     if (!ExAcquireResourceSharedLite( Fcb->Resource, Wait )) {
+
         return FALSE;
     }
-#endif
 
     NT_ASSERT(IoGetTopLevelIrp() == NULL);
     IoSetTopLevelIrp((PIRP)FSRTL_CACHE_TOP_LEVEL_IRP);
 
-#ifndef __REACTOS__
-    return ExAcquireResourceSharedLite( Fcb->Resource, Wait );
-#else
     return TRUE;
-#endif
 }
 
 
diff --git a/media/doc/README.FSD b/media/doc/README.FSD
index 681a4a0fd5..8cb1f12970 100644
--- a/media/doc/README.FSD
+++ b/media/doc/README.FSD
@@ -19,4 +19,4 @@ reactos/drivers/filesystems/reiserfs        # Synced to 0.26
 The following FSD are shared with: 
https://github.com/Microsoft/Windows-driver-samples
 
 reactos/drivers/filesystems/fastfat_new     # Synced to 2817004
-reactos/drivers/filesystems/cdfs_new        # Synced to 2817004
+reactos/drivers/filesystems/cdfs_new        # Synced to f73e552

Reply via email to