commit | 19035a067c482d5fde19362578678a98547cc463 | [log] [tgz] |
---|---|---|
author | Eric Biggers <ebiggers@google.com> | Tue Feb 28 19:27:55 2023 -0800 |
committer | Eric Biggers <ebiggers@google.com> | Wed Mar 01 03:47:14 2023 +0000 |
tree | c5d9462f3fa310549b5da681a0a689e8f0c45d89 | |
parent | 8e81aecd53640f98ec96cad43da80a518776eb26 [diff] |
libext2fs: fix ext2fs_get_device_size2() return value on Windows Creating a file system on Windows without a pre-existing file stopped working because the Windows version of ext2fs_get_device_size2() doesn't return ENOENT if the file doesn't exist. Fix this. Fixes: 53464654bd33 ("mke2fs: fix creating a file system image w/o a pre-existing file") Bug: 271039230 Change-Id: I2ee1db4cbea85047acac449fa0179e5b7e778ae5 Signed-off-by: Eric Biggers <ebiggers@google.com>