linux-ext4.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] mke2fs -E offset=N filessystem size calculation
@ 2016-05-12 16:21 Marcus Huewe
  0 siblings, 0 replies; only message in thread
From: Marcus Huewe @ 2016-05-12 16:21 UTC (permalink / raw)
  To: tytso; +Cc: linux-ext4

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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2016-05-12 16:22 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-05-12 16:21 [PATCH 0/2] mke2fs -E offset=N filessystem size calculation Marcus Huewe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).