commit | 43af31ffa505a6a2b2a065e12e2e1941fa68fa98 | [log] [tgz] |
---|---|---|
author | Nico Huber <nico.h@gmx.de> | Fri Jan 26 22:33:47 2024 +0100 |
committer | Nico Huber <nico.h@gmx.de> | Fri Jan 26 22:33:47 2024 +0100 |
tree | 3f9fdaf84459997fb8cb776abf08d918d6c29ed0 | |
parent | d7001cf03b81330f6f41ed70b778f9465c0ca4ed [diff] [blame] |
ext2: Only read interesting part of the superblock
diff --git a/src/filo-fs-ext2.adb b/src/filo-fs-ext2.adb index 96328dd..3c8578b 100644 --- a/src/filo-fs-ext2.adb +++ b/src/filo-fs-ext2.adb
@@ -40,7 +40,7 @@ Success : out Boolean) is Static : Mount_State renames State.Static; - Super_Block : Buffer_Type (0 .. SUPERBLOCK_SIZE - 1) := (others => 0); + Super_Block : Buffer_Type (0 .. 64 * 4 - 1) := (others => 0); begin if Part_Len < 2 * SUPERBLOCK_SIZE then Success := False;