summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/fs/detail/superblock.hpp4
-rw-r--r--include/fs/extfs.hpp2
2 files changed, 3 insertions, 3 deletions
diff --git a/include/fs/detail/superblock.hpp b/include/fs/detail/superblock.hpp
index f86fe3d..dbacd48 100644
--- a/include/fs/detail/superblock.hpp
+++ b/include/fs/detail/superblock.hpp
@@ -14,7 +14,7 @@ namespace fs::detail
*
* @since 1.0
*/
- struct extfs_superblock
+ struct superblock
{
u32 const inodes_count{}; ///< The total number of inodes in the file system
u32 const blocks_count{}; ///< The total number of blocks in the file system
@@ -66,7 +66,7 @@ namespace fs::detail
u08_arr<760> const _reserved1{}; ///< Padding
};
- static_assert(sizeof(extfs_superblock) == 1024, "An ext* super block must have an exact size of 1024 byte!");
+ static_assert(sizeof(superblock) == 1024, "An ext2/3/4 super block must have an exact size of 1024 bytes!");
}
diff --git a/include/fs/extfs.hpp b/include/fs/extfs.hpp
index 545a840..b06b9fb 100644
--- a/include/fs/extfs.hpp
+++ b/include/fs/extfs.hpp
@@ -78,7 +78,7 @@ namespace fs
bool has_label() const;
private:
- detail::extfs_superblock m_primarySuperblock{};
+ detail::superblock m_primarySuperblock{};
std::fstream m_stream{};
};