projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Rename battfs_init to battfs_mount and battfs_close to battfs_umount.
[bertos.git]
/
bertos
/
fs
/
battfs.c
diff --git
a/bertos/fs/battfs.c
b/bertos/fs/battfs.c
index 4dde9243baeafe184115e65ed1cbdba60a559aae..ae3cde9ed7940e361a4942bd53548852225e2b66 100644
(file)
--- a/
bertos/fs/battfs.c
+++ b/
bertos/fs/battfs.c
@@
-438,7
+438,7
@@
static bool loadPage(struct BattFsSuper *disk, pgcnt_t new_page, BattFsPageHeade
* \a disk.
* \return false on errors, true otherwise.
*/
* \a disk.
* \return false on errors, true otherwise.
*/
-bool battfs_
ini
t(struct BattFsSuper *disk)
+bool battfs_
moun
t(struct BattFsSuper *disk)
{
pgoff_t filelen_table[BATTFS_MAX_FILES];
{
pgoff_t filelen_table[BATTFS_MAX_FILES];
@@
-958,9
+958,9
@@
bool battfs_fileopen(BattFsSuper *disk, BattFs *fd, inode_t inode, filemode_t mo
}
/**
}
/**
- *
Close
\a disk.
+ *
Umount
\a disk.
*/
*/
-bool battfs_
close
(struct BattFsSuper *disk)
+bool battfs_
umount
(struct BattFsSuper *disk)
{
Node *n;
int res = 0;
{
Node *n;
int res = 0;