[NTFS][FREELDR]
authorPierre Schweitzer <pierre@reactos.org>
Sat, 9 Jul 2016 16:21:13 +0000 (16:21 +0000)
committerPierre Schweitzer <pierre@reactos.org>
Sat, 9 Jul 2016 16:21:13 +0000 (16:21 +0000)
Cherrypick r71807 by Trevor Thompson

svn path=/trunk/; revision=71869

reactos/boot/freeldr/freeldr/lib/fs/ntfs.c
reactos/drivers/filesystems/ntfs/mft.c

index 8aa5ea4..5b0b510 100644 (file)
@@ -320,9 +320,6 @@ static ULONG NtfsReadAttribute(PNTFS_VOLUME_INFO Volume, PNTFS_ATTR_CONTEXT Cont
             }
             else
                 DataRunStartLCN = -1;
-
-            if (*DataRun == 0)
-                return AlreadyRead;
         }
 
         while (Length > 0)
index 3656568..d02a32d 100644 (file)
@@ -273,9 +273,6 @@ ReadAttribute(PDEVICE_EXTENSION Vcb,
             }
             else
                 DataRunStartLCN = -1;
-
-            if (*DataRun == 0)
-                return AlreadyRead;
         }
 
         while (Length > 0)