projects
/
yaffs2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
yaffs Refactor yaffs1 and yaffs2 specific code. WIP
[yaffs2.git]
/
direct
/
yaffsfs.c
diff --git
a/direct/yaffsfs.c
b/direct/yaffsfs.c
index 2b64bc6be9ee8390b2ed8280ec61d6d5d686352b..041287c1e77405a01ee575bb13a4906928fcf0a2 100644
(file)
--- a/
direct/yaffsfs.c
+++ b/
direct/yaffsfs.c
@@
-1846,7
+1846,7
@@
int yaffs_inodecount(const YCHAR *path)
yaffsfs_Lock();
dev = yaffsfs_FindDevice(path,&dummy);
if(dev && dev->isMounted) {
- int nObjects = dev->nObjects
Created - dev->nFreeObjects
;
+ int nObjects = dev->nObjects;
if(nObjects > dev->nHardLinks)
retVal = nObjects - dev->nHardLinks;
}