Author: tkreuzer
Date: Sat Jan 26 09:34:12 2013
New Revision: 58219
URL:
http://svn.reactos.org/svn/reactos?rev=58219&view=rev
Log:
[FREELDR]
Return NULL, not FALSE on failure in Ext2ReadBlockPointerList
Modified:
trunk/reactos/boot/freeldr/freeldr/fs/ext2.c
Modified: trunk/reactos/boot/freeldr/freeldr/fs/ext2.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/boot/freeldr/freeldr/fs/ex…
==============================================================================
--- trunk/reactos/boot/freeldr/freeldr/fs/ext2.c [iso-8859-1] (original)
+++ trunk/reactos/boot/freeldr/freeldr/fs/ext2.c [iso-8859-1] Sat Jan 26 09:34:12 2013
@@ -1049,7 +1049,7 @@
if (!Ext2CopyIndirectBlockPointers(BlockList, &CurrentBlockInList, BlockCount,
Inode->blocks.indir_block))
{
MmHeapFree(BlockList);
- return FALSE;
+ return NULL;
}
}
@@ -1059,7 +1059,7 @@
if (!Ext2CopyDoubleIndirectBlockPointers(BlockList, &CurrentBlockInList,
BlockCount, Inode->blocks.double_indir_block))
{
MmHeapFree(BlockList);
- return FALSE;
+ return NULL;
}
}
@@ -1069,7 +1069,7 @@
if (!Ext2CopyTripleIndirectBlockPointers(BlockList, &CurrentBlockInList,
BlockCount, Inode->blocks.tripple_indir_block))
{
MmHeapFree(BlockList);
- return FALSE;
+ return NULL;
}
}