Re: [PATCH] fallocate: allow O_CREATE if mode is FALLOC_FL_WRITE_ZEROES

Karel Zak <[email protected]> Wed, 1 Oct 2025 15:06:31 +0200
Newsgroups org.kernel.vger.util-linux
Message-ID <vrxuesicvzknwfrkesxoaoiozxpgzga5q3c7sde247535l6why@qle4befw3gnk>
On Wed, Oct 01, 2025 at 01:54:50PM +0200, Lukas Herbolt wrote:
> With the new flag we can create the ZEROED allcoated files directly and not 
> in the two steps. Removing FALLOC_FL_WRITE_ZEROES from the flags of not using
> O_CREATE on open().
> 
> Signed-off-by: Lukas Herbolt <[email protected]>
> ---
>  sys-utils/fallocate.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Applied, thanks.

-- 
 Karel Zak  <[email protected]>
 http://karelzak.blogspot.com