projects
/
bertos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c63526c
)
Use correct inode address.
author
batt
<batt@38d2e660-2303-0410-9eaa-f027e97ec537>
Wed, 5 Dec 2007 22:37:54 +0000
(22:37 +0000)
committer
batt
<batt@38d2e660-2303-0410-9eaa-f027e97ec537>
Wed, 5 Dec 2007 22:37:54 +0000
(22:37 +0000)
git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1028
38d2e660
-2303-0410-9eaa-
f027e97ec537
fs/battfs.c
patch
|
blob
|
history
diff --git
a/fs/battfs.c
b/fs/battfs.c
index d4ee72335d9a5d75968060a84333f66775d97641..e02e14a45ea72000581f705e9f2973261f3793e3 100644
(file)
--- a/
fs/battfs.c
+++ b/
fs/battfs.c
@@
-142,7
+142,7
@@
bool battfs_init(struct BattFsSuper *disk)
rotating_init(&cks);
rotating_update(&hdr, sizeof(BattFsPageHeader) - sizeof(rotating_t), &cks);
if (cks == hdr.fcs)
- filelen_table[
pag
e]++;
+ filelen_table[
hdr.inod
e]++;
else
{
#warning Finish me!