FAT12 fixes
authorDavid Welch <welch@cwcom.net>
Tue, 16 Jan 2001 23:22:03 +0000 (23:22 +0000)
committerDavid Welch <welch@cwcom.net>
Tue, 16 Jan 2001 23:22:03 +0000 (23:22 +0000)
svn path=/trunk/; revision=1527

reactos/drivers/fs/vfat/fat.c
reactos/ntoskrnl/hal/x86/irql.c

index 678e73e..f08e4a9 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * $Id: fat.c,v 1.15 2001/01/16 15:43:42 dwelch Exp $
+ * $Id: fat.c,v 1.16 2001/01/16 23:22:03 dwelch Exp $
  *
  * COPYRIGHT:        See COPYING in the top level directory
  * PROJECT:          ReactOS kernel
@@ -284,6 +284,7 @@ FAT12FindAvailableCluster (PDEVICE_EXTENSION DeviceExt, PULONG Cluster)
          DPRINT("Found available cluster 0x%x\n", i);
          *Cluster = i;
          CcReleaseCacheSegment(DeviceExt->StorageBcb, CacheSeg, TRUE);
+         return(STATUS_SUCCESS);
        }
     }
   CcReleaseCacheSegment(DeviceExt->StorageBcb, CacheSeg, TRUE);
index c047ca9..8987b6c 100644 (file)
@@ -180,8 +180,7 @@ static VOID KeSetCurrentIrql(KIRQL newlvl)
  *     Uses fastcall convention
  */
 
-VOID
-FASTCALL
+VOID FASTCALL
 KfLowerIrql (
        KIRQL   NewIrql
        )