Re: [e2fsprogs PATCH] libext2fs: fix ext2fs_get_device_size2() return value on Windows

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Feb 28, 2023 at 07:45:18PM -0800, Eric Biggers wrote:
> From: Eric Biggers <ebiggers@xxxxxxxxxx>
> 
> 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")
> Signed-off-by: Eric Biggers <ebiggers@xxxxxxxxxx>
> ---
>  .github/workflows/ci.yml |  1 -
>  lib/ext2fs/getsize.c     | 31 +++++++++++--------------------
>  lib/ext2fs/windows_io.c  | 11 -----------
>  3 files changed, 11 insertions(+), 32 deletions(-)

Ping.



[Index of Archives]     [Reiser Filesystem Development]     [Ceph FS]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite National Park]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]     [Linux Media]

  Powered by Linux