2016-05-12 16:22:01

by Marcus Huewe

[permalink] [raw]
Subject: [PATCH 0/2] mke2fs -E offset=N filessystem size calculation

Hi,

it seems that commit 87d9b2fb broke the filesystem size calculation, if
mke2fs is called with the offset option ("-E offset=N") and an explicitly
specified filesystem size.
This series fixes it and documents the expected behavior (see adjusted
testcase).


Marcus

Marcus Huewe (2):
tests: test "mke2fs -E offset=N" filesystem size calculation
mke2fs: fix filesystem size calculation, if an offset is specified

misc/mke2fs.c | 3 ++-
tests/t_mke2fs_offset/script | 28 +++++++++++++++++++++-------
2 files changed, 23 insertions(+), 8 deletions(-)

--
2.6.3