Commit [a7b0f7] Maximize Restore History

mke2fs: use ext2fs_open_file() in check_plausibility()

The commit:

802146c mke2fs: create a regular file if necessary

caused a regression on 32-bit machines; the open() fails if
the file size is > 4G.

Using ext2fs_open_file() fixes it.

Addresses-Red-Hat-Bugzilla: #1099892

Signed-off-by: Eric Sandeen <>
Signed-off-by: Theodore Ts'o <>

Eric Sandeen Eric Sandeen 2014-05-21

Theodore Ts'o Theodore Ts'o 2014-05-22

changed misc
changed misc/util.c
misc/util.c Diff Switch to side-by-side view