qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Hanna Reitz <hreitz@redhat.com>
To: Fabrice Fontaine <fontaine.fabrice@gmail.com>, qemu-devel@nongnu.org
Cc: Kevin Wolf <kwolf@redhat.com>,
	qemu-block@nongnu.org, Max Reitz <mreitz@redhat.com>
Subject: Re: [PATCH] block/export/fuse.c: fix fuse-lseek on uclibc or musl
Date: Wed, 1 Sep 2021 13:08:13 +0200	[thread overview]
Message-ID: <22b83df9-a75a-7392-d87e-4035a8a641c1@redhat.com> (raw)
In-Reply-To: <20210827220301.272887-1-fontaine.fabrice@gmail.com>

On 28.08.21 00:03, Fabrice Fontaine wrote:
> Include linux/fs.h to avoid the following build failure on uclibc or
> musl raised since version 6.0.0:
>
> ../block/export/fuse.c: In function 'fuse_lseek':
> ../block/export/fuse.c:641:19: error: 'SEEK_HOLE' undeclared (first use in this function)
>    641 |     if (whence != SEEK_HOLE && whence != SEEK_DATA) {
>        |                   ^~~~~~~~~
> ../block/export/fuse.c:641:19: note: each undeclared identifier is reported only once for each function it appears in
> ../block/export/fuse.c:641:42: error: 'SEEK_DATA' undeclared (first use in this function); did you mean 'SEEK_SET'?
>    641 |     if (whence != SEEK_HOLE && whence != SEEK_DATA) {
>        |                                          ^~~~~~~~~
>        |                                          SEEK_SET
>
> Fixes:
>   - http://autobuild.buildroot.org/results/33c90ebf04997f4d3557cfa66abc9cf9a3076137
>
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
> ---
>   block/export/fuse.c | 3 +++
>   1 file changed, 3 insertions(+)

Thanks, applied to my block branch:

https://github.com/XanClic/qemu/commits/block

Hanna



      reply	other threads:[~2021-09-01 11:11 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-27 22:03 [PATCH] block/export/fuse.c: fix fuse-lseek on uclibc or musl Fabrice Fontaine
2021-09-01 11:08 ` Hanna Reitz [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=22b83df9-a75a-7392-d87e-4035a8a641c1@redhat.com \
    --to=hreitz@redhat.com \
    --cc=fontaine.fabrice@gmail.com \
    --cc=kwolf@redhat.com \
    --cc=mreitz@redhat.com \
    --cc=qemu-block@nongnu.org \
    --cc=qemu-devel@nongnu.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 NNTP newsgroup(s).