projects
/
yaffs
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
f312fc5
)
*** empty log message ***
author
charles
<charles>
Thu, 3 Apr 2003 17:58:56 +0000
(17:58 +0000)
committer
charles
<charles>
Thu, 3 Apr 2003 17:58:56 +0000
(17:58 +0000)
yaffs_guts.c
patch
|
blob
|
history
diff --git
a/yaffs_guts.c
b/yaffs_guts.c
index d7246590925400795b7831e3e74fe9d4fac54c8e..d82da3fc9bec225fc1975c573552d1d8e73ec4e3 100644
(file)
--- a/
yaffs_guts.c
+++ b/
yaffs_guts.c
@@
-14,7
+14,7
@@
*/
//yaffs_guts.c
*/
//yaffs_guts.c
-const char *yaffs_guts_c_version="$Id: yaffs_guts.c,v 1.2
3 2003-04-03 17:32:11
charles Exp $";
+const char *yaffs_guts_c_version="$Id: yaffs_guts.c,v 1.2
4 2003-04-03 17:58:56
charles Exp $";
#include "yportenv.h"
#include "yportenv.h"
@@
-3162,7
+3162,7
@@
static yaffs_ChunkCache *yaffs_GrabChunkCacheWorker(yaffs_Device *dev)
{
//T(("Grabbing empty %d\n",i));
{
//T(("Grabbing empty %d\n",i));
- printf("Grabbing empty %d\n",i);
+
//
printf("Grabbing empty %d\n",i);
return &dev->srCache[i];
}
return &dev->srCache[i];
}
@@
-3186,7
+3186,7
@@
static yaffs_ChunkCache *yaffs_GrabChunkCacheWorker(yaffs_Device *dev)
//T(("Grabbing non-empty %d\n",theOne));
//T(("Grabbing non-empty %d\n",theOne));
- if(theOne >= 0) printf("Grabbed non-empty cache %d\n",theOne);
+
//
if(theOne >= 0) printf("Grabbed non-empty cache %d\n",theOne);
return theOne >= 0 ? &dev->srCache[theOne] : NULL;
}
return theOne >= 0 ? &dev->srCache[theOne] : NULL;
}
@@
-3239,7
+3239,7
@@
static yaffs_ChunkCache *yaffs_GrabChunkCache(yaffs_Device *dev)
if(!cache || cache->dirty)
{
if(!cache || cache->dirty)
{
- printf("Dirty ");
+
//
printf("Dirty ");
yaffs_FlushFilesChunkCache(theObj);
// Try again
yaffs_FlushFilesChunkCache(theObj);
// Try again
@@
-3247,7
+3247,7
@@
static yaffs_ChunkCache *yaffs_GrabChunkCache(yaffs_Device *dev)
}
else
{
}
else
{
- printf(" pushout %d\n",pushout);
+
//
printf(" pushout %d\n",pushout);
}
}
}
}
@@
-4810,7
+4810,7
@@
int yaffs_GetNumberOfFreeChunks(yaffs_Device *dev)
}
}
- printf("___________ nFreeChunks is %d nFree is %d\n",dev->nFreeChunks,nFree);
+ // printf("___________ nFreeChunks is %d nFree is %d\n",dev->nFreeChunks,nFree);
if(nFree < 0) nFree = 0;
if(nFree < 0) nFree = 0;