https://git.reactos.org/?p=reactos.git;a=commitdiff;h=4b4c0aabcdb3d213f13ff3b70a3a46e3efcfd843

commit 4b4c0aabcdb3d213f13ff3b70a3a46e3efcfd843
Author:     Pierre Schweitzer <pie...@reactos.org>
AuthorDate: Fri Nov 16 19:35:36 2018 +0100
Commit:     Pierre Schweitzer <pie...@reactos.org>
CommitDate: Fri Nov 16 22:07:07 2018 +0100

    [FASTFAT] Properly return failure in vfatFindDirSpace()
    
    CID 1441394
---
 drivers/filesystems/fastfat/dirwr.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/filesystems/fastfat/dirwr.c 
b/drivers/filesystems/fastfat/dirwr.c
index 65db414d21..db059e86cf 100644
--- a/drivers/filesystems/fastfat/dirwr.c
+++ b/drivers/filesystems/fastfat/dirwr.c
@@ -280,7 +280,7 @@ vfatFindDirSpace(
     Status = vfatFCBInitializeCacheFromVolume(DeviceExt, pDirFcb);
     if (!NT_SUCCESS(Status))
     {
-        return Status;
+        return FALSE;
     }
 
     count = pDirFcb->RFCB.FileSize.u.LowPart / SizeDirEntry;

Reply via email to