@@ 95,7 95,7 @@
[submodule "klib"]
path = third-party/klib/src
url = https://github.com/attractivechaos/klib.git
-[submodule "third-party/lwext4/lwext4"]
+[submodule "lwext4"]
path = third-party/lwext4/lwext4
url = ../lwext4.git
branch = mudita
@@ 23,4 23,4 @@ namespace purefs::fs::drivers
private:
ext4_dir m_dir{};
};
-} // namespace purefs::fs::drivers>
\ No newline at end of file
+} // namespace purefs::fs::drivers
@@ 26,8 26,7 @@ namespace purefs::fs::drivers
{
namespace
{
- template <typename T, typename... Args>
- auto invoke_efs(filesystem_ext4::fsfile zfil, T efs_fun, Args &&... args)
+ template <typename T, typename... Args> auto invoke_efs(filesystem_ext4::fsfile zfil, T efs_fun, Args &&...args)
{
auto vfile = std::dynamic_pointer_cast<file_handle_ext4>(zfil);
if (!vfile) {
@@ 58,7 57,7 @@ namespace purefs::fs::drivers
return -err;
}
template <typename T, typename... Args>
- auto invoke_efs(filesystem_ext4::fsmount fmnt, T efs_fun, std::string_view path, Args &&... args)
+ auto invoke_efs(filesystem_ext4::fsmount fmnt, T efs_fun, std::string_view path, Args &&...args)
{
auto mntp = std::static_pointer_cast<mount_point_ext4>(fmnt);
if (!mntp) {
@@ 70,7 69,7 @@ namespace purefs::fs::drivers
auto err = efs_fun(native_path.c_str(), std::forward<Args>(args)...);
return -err;
}
- template <typename T, typename... Args> auto invoke_efs(filesystem_ext4::fsdir zdir, T lfs_fun, Args &&... args)
+ template <typename T, typename... Args> auto invoke_efs(filesystem_ext4::fsdir zdir, T lfs_fun, Args &&...args)
{
auto vdir = std::dynamic_pointer_cast<directory_handle_ext4>(zdir);
if (!vdir) {
@@ 412,7 411,7 @@ namespace purefs::fs::drivers
if (fspath.empty()) {
fspath = vmnt->mount_path();
}
- const auto dirp = std::make_shared<directory_handle_ext4>(mnt, 0);
+ const auto dirp = std::make_shared<directory_handle_ext4>(mnt, 0);
ext4_locker _lck(vmnt);
const auto lret = ext4_dir_open(dirp->dirp(), fspath.c_str());
dirp->error(-lret);
@@ 1,1 1,1 @@
-Subproject commit 3811843e165ce1a3d86edd59d0def07f7c085108
+Subproject commit c13d077cdf1750a9cf83985804a397d25aa4c0bf