summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorFelix Morgner <felix.morgner@gmail.com>2016-12-25 00:48:15 +0100
committerFelix Morgner <felix.morgner@gmail.com>2016-12-25 00:49:17 +0100
commit7bd8cc53fc013aed452ae12f0405242f35c0860c (patch)
tree53563bac482328fa54007d5941a2cc7161391f3d /tools
parent36361d1f7443662bfb9b5c566c9d73053c23fcf0 (diff)
downloadextfs-7bd8cc53fc013aed452ae12f0405242f35c0860c.tar.xz
extfs-7bd8cc53fc013aed452ae12f0405242f35c0860c.zip
extfs: Swap order of member variables
Since we know that sizeof(extfs_superblock) is guaranteed to be 1024, we should move it to the begining of the data member list. Since 1024 is a power of two, we can be pretty certain, that no padding will be inserted after fs::extfs::m_primarySuperblock. std::fstream however makes no guarantees as to what it size is. Thus we would risk the insertion of padding.
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions