Linux-Raid Archives mirror
 help / color / mirror / Atom feed
From: Mariusz Tkaczyk <mariusz.tkaczyk@linux.intel.com>
To: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Cc: linux-raid@vger.kernel.org, Jes Sorensen <jes@trained-monkey.org>
Subject: Re: [PATCH] Create.c: fix uclibc build
Date: Mon, 15 Apr 2024 17:24:50 +0200	[thread overview]
Message-ID: <20240415172450.00000597@linux.intel.com> (raw)
In-Reply-To: <20240412164513.6829-1-fontaine.fabrice@gmail.com>

On Fri, 12 Apr 2024 18:45:13 +0200
Fabrice Fontaine <fontaine.fabrice@gmail.com> wrote:

> Define FALLOC_FL_ZERO_RANGE if needed as FALLOC_FL_ZERO_RANGE is only
> defined for aarch64 on uclibc-ng resulting in the following or1k build
> failure since commit 577fd10486d8d1472a6b559066f344ac30a3a391:
> 
> Create.c: In function 'write_zeroes_fork':
> Create.c:155:35: error: 'FALLOC_FL_ZERO_RANGE' undeclared (first use in this
> function) 155 |                 if (fallocate(fd, FALLOC_FL_ZERO_RANGE |
> FALLOC_FL_KEEP_SIZE, |                                   ^~~~~~~~~~~~~~~~~~~~
> 
> Fixes:
>  -
> http://autobuild.buildroot.org/results/0e04bcdb591ca5642053e1f7e31384f06581e989
> 
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>

Applied! 

Thanks,
Mariusz

      reply	other threads:[~2024-04-15 15:24 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-04-12 16:45 [PATCH] Create.c: fix uclibc build Fabrice Fontaine
2024-04-15 15:24 ` Mariusz Tkaczyk [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240415172450.00000597@linux.intel.com \
    --to=mariusz.tkaczyk@linux.intel.com \
    --cc=fontaine.fabrice@gmail.com \
    --cc=jes@trained-monkey.org \
    --cc=linux-raid@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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 read-only IMAP folder(s) and NNTP newsgroup(s).