From 2a323c549554cbe028efd92be55104460388c742 Mon Sep 17 00:00:00 2001 From: Felix Morgner Date: Sun, 25 Dec 2016 00:58:50 +0100 Subject: superblock: Rename extfs_superblock to superblock --- src/fs/extfs.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/fs/extfs.cpp b/src/fs/extfs.cpp index 671124d..29ad5b4 100644 --- a/src/fs/extfs.cpp +++ b/src/fs/extfs.cpp @@ -9,11 +9,11 @@ namespace auto constexpr kPrimarySuperblockLocation = 1024; auto constexpr kExtfsMagic = 0xef53; - auto read_superblock(std::fstream & stream, fs::detail::extfs_superblock & superblock) + auto read_superblock(std::fstream & stream, fs::detail::superblock & superblock) { auto const originalPosition = stream.tellg(); stream.seekg(kPrimarySuperblockLocation); - stream.read(reinterpret_cast(&superblock), sizeof(fs::detail::extfs_superblock)); + stream.read(reinterpret_cast(&superblock), sizeof(fs::detail::superblock)); stream.seekg(originalPosition); } } -- cgit v1.2.3