summaryrefslogtreecommitdiff
path: root/include/fs/detail/superblock.hpp
diff options
context:
space:
mode:
authorFelix Morgner <felix.morgner@gmail.com>2016-12-25 00:58:50 +0100
committerFelix Morgner <felix.morgner@gmail.com>2016-12-25 01:01:06 +0100
commit2a323c549554cbe028efd92be55104460388c742 (patch)
tree3c7deb9f9b57bd62cf757a6884e4611610354490 /include/fs/detail/superblock.hpp
parent7bd8cc53fc013aed452ae12f0405242f35c0860c (diff)
downloadextfs-2a323c549554cbe028efd92be55104460388c742.tar.xz
extfs-2a323c549554cbe028efd92be55104460388c742.zip
superblock: Rename extfs_superblock to superblock
Diffstat (limited to 'include/fs/detail/superblock.hpp')
-rw-r--r--include/fs/detail/superblock.hpp4
1 files changed, 2 insertions, 2 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!");
}