FS/XFS testing framework
 help / color / mirror / Atom feed
From: "Darrick J. Wong" <djwong@kernel.org>
To: Theodore Ts'o <tytso@mit.edu>
Cc: fstests@vger.kernel.org
Subject: Re: [PATCH] fsx: add missing #include for sys/uio.h
Date: Tue, 18 Feb 2025 09:36:54 -0800	[thread overview]
Message-ID: <20250218173654.GJ21799@frogsfrogsfrogs> (raw)
In-Reply-To: <20250218145012.382965-1-tytso@mit.edu>

On Tue, Feb 18, 2025 at 09:50:12AM -0500, Theodore Ts'o wrote:
> The <sys/uio.h> header is needed to provide the function declarations
> for preadv2() and pwritev2().
> 
> Signed-off-by: Theodore Ts'o <tytso@mit.edu>
> ---
>  ltp/fsx.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/ltp/fsx.c b/ltp/fsx.c
> index 2c19fff88..9a3d4cce0 100644
> --- a/ltp/fsx.c
> +++ b/ltp/fsx.c
> @@ -38,6 +38,7 @@
>  #include <liburing.h>
>  #endif
>  #include <sys/syscall.h>
> +#include <sys/uio.h>

Already fixed by commit a7d82369dcae0d ("fsx: fix compile error for
preadv2()") in for-next.

--D

>  #ifndef MAP_FILE
>  # define MAP_FILE 0
> -- 
> 2.47.2
> 
> 

      reply	other threads:[~2025-02-18 17:36 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-02-18 14:50 [PATCH] fsx: add missing #include for sys/uio.h Theodore Ts'o
2025-02-18 17:36 ` Darrick J. Wong [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=20250218173654.GJ21799@frogsfrogsfrogs \
    --to=djwong@kernel.org \
    --cc=fstests@vger.kernel.org \
    --cc=tytso@mit.edu \
    /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