Skip to content

mke2fs -E offset=N filessystem size calculation

Marcus Huewe linux-ext4 1 version New

Get series with b4
b4 am 20160512162155.GA4618@linux

Versions newest first

  1. v1 Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2tests: test "mke2fs -E offset=N" filesystem size calculationtests/t_mke2fs_offset/script+21 -70 replies
2/2mke2fs: fix filesystem size calculation, if an offset is specifiedmisc/mke2fs.c+2 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [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(-)
Signature · 1 line
2.6.3