mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 17:03:02 +00:00
Fixed the return value in Fat12GetNextCluster().
svn path=/trunk/; revision=2169
This commit is contained in:
parent
b0c7df1b9a
commit
1f36dc8a8a
1 changed files with 3 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* $Id: fat.c,v 1.29 2001/07/20 08:00:20 ekohl Exp $
|
* $Id: fat.c,v 1.30 2001/08/14 08:06:26 hbirr Exp $
|
||||||
*
|
*
|
||||||
* COPYRIGHT: See COPYING in the top level directory
|
* COPYRIGHT: See COPYING in the top level directory
|
||||||
* PROJECT: ReactOS kernel
|
* PROJECT: ReactOS kernel
|
||||||
|
@ -187,7 +187,8 @@ Fat12GetNextCluster(PDEVICE_EXTENSION DeviceExt,
|
||||||
// DPRINT("Returning %x\n",Entry);
|
// DPRINT("Returning %x\n",Entry);
|
||||||
*NextCluster = Entry;
|
*NextCluster = Entry;
|
||||||
CcRosReleaseCacheSegment(DeviceExt->Fat12StorageBcb, CacheSeg, TRUE);
|
CcRosReleaseCacheSegment(DeviceExt->Fat12StorageBcb, CacheSeg, TRUE);
|
||||||
return Entry == 0xffffffff ? STATUS_END_OF_FILE : STATUS_SUCCESS;
|
// return Entry == 0xffffffff ? STATUS_END_OF_FILE : STATUS_SUCCESS;
|
||||||
|
return STATUS_SUCCESS;
|
||||||
}
|
}
|
||||||
|
|
||||||
NTSTATUS
|
NTSTATUS
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue