diff options
| author | gkostka <kostka.grzegorz@gmail.com> | 2017-01-18 22:35:36 +0100 |
|---|---|---|
| committer | gkostka <kostka.grzegorz@gmail.com> | 2017-01-18 22:42:04 +0100 |
| commit | c1185991fa175c25b4ba47160784e64bc5deb4ce (patch) | |
| tree | 964a17e6fed3540b98c2ca3675b17ad3f57444fb /include | |
| parent | 4c155036f9ce3a74bc3eb3bb79725616d3b6c125 (diff) | |
ext4: add ext4_cache_flush for explicit cache flush
Diffstat (limited to 'include')
| -rw-r--r-- | include/ext4.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/ext4.h b/include/ext4.h index b1c7a61..745d41e 100644 --- a/include/ext4.h +++ b/include/ext4.h @@ -234,6 +234,14 @@ int ext4_get_sblock(const char *mount_point, struct ext4_sblock **sb); * @return standard error code */ int ext4_cache_write_back(const char *path, bool on); + +/**@brief Force cache flush. + * + * @param path mount point path + * + * @return standard error code */ +int ext4_cache_flush(const char *path); + /********************************FILE OPERATIONS*****************************/ /**@brief Remove file by path. |
