projects
/
lwext4.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ext4_journal: journal write skeleton code.
[lwext4.git]
/
lwext4
/
ext4.h
diff --git
a/lwext4/ext4.h
b/lwext4/ext4.h
index 943fc9e2c0fe5c1774461389422bf6120ca46339..208ddb9a99b916b0529739e73f59c798d090e361 100644
(file)
--- a/
lwext4/ext4.h
+++ b/
lwext4/ext4.h
@@
-182,6
+182,13
@@
int ext4_mount(const char *dev_name, const char *mount_point);
* @return standard error code */
int ext4_umount(const char *mount_point);
* @return standard error code */
int ext4_umount(const char *mount_point);
+
+/**@brief Journal recovery.
+ * @param mount_point mount point
+ * @warning Must be called after @ref ext4_mount
+ * @return standard error code */
+int ext4_recover(const char *mount_point);
+
/**@brief Some of the filesystem stats.*/
struct ext4_mount_stats {
uint32_t inodes_count;
/**@brief Some of the filesystem stats.*/
struct ext4_mount_stats {
uint32_t inodes_count;