projects
/
bertos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
be167f6
)
Typo.
author
batt
<batt@38d2e660-2303-0410-9eaa-f027e97ec537>
Fri, 21 Dec 2007 21:02:14 +0000
(21:02 +0000)
committer
batt
<batt@38d2e660-2303-0410-9eaa-f027e97ec537>
Fri, 21 Dec 2007 21:02:14 +0000
(21:02 +0000)
git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1041
38d2e660
-2303-0410-9eaa-
f027e97ec537
fs/battfs.c
patch
|
blob
|
history
diff --git
a/fs/battfs.c
b/fs/battfs.c
index ab8075f5146b430cd4ee759ec159754ab80f2bff..9a4275d672628869a9344ed73ba7ca9d3c215688 100644
(file)
--- a/
fs/battfs.c
+++ b/
fs/battfs.c
@@
-178,8
+178,8
@@
static void movePages(struct BattFsSuper *disk, pgcnt_t src, int offset)
*/
static void insertFreePage(struct BattFsSuper *disk, pgoff_t *filelen_table, mark_t free_number, pgcnt_t page)
{
- ASSERT(
mark
>= disk->min_free);
- ASSERT(
mark
<= disk->max_free);
+ ASSERT(
free_number
>= disk->min_free);
+ ASSERT(
free_number
<= disk->max_free);
pgcnt_t free_pos = countPages(filelen_table, BATTFS_MAX_FILES - 1);
free_pos += free_number - disk->min_free;