From: Eric Sandeen <sandeen@redhat.com>
To: linux-xfs <linux-xfs@vger.kernel.org>
Subject: [PATCH] xfs_io: copy_range can take up to 8 arguments
Date: Thu, 30 Apr 2020 16:41:55 -0500 [thread overview]
Message-ID: <08c6de7b-4caf-1162-29e5-94d8dfe959d6@redhat.com> (raw)
If we use the "-f N" variant for the source file specification, we will
have up to 8 total arguments.
Signed-off-by: Eric Sandeen <sandeen@redhat.com>
---
diff --git a/io/copy_file_range.c b/io/copy_file_range.c
index 68525047..d154fa76 100644
--- a/io/copy_file_range.c
+++ b/io/copy_file_range.c
@@ -179,7 +179,7 @@ copy_range_init(void)
copy_range_cmd.name = "copy_range";
copy_range_cmd.cfunc = copy_range_f;
copy_range_cmd.argmin = 1;
- copy_range_cmd.argmax = 7;
+ copy_range_cmd.argmax = 8;
copy_range_cmd.flags = CMD_NOMAP_OK | CMD_FOREIGN_OK;
copy_range_cmd.args = _("[-s src_off] [-d dst_off] [-l len] src_file | -f N");
copy_range_cmd.oneline = _("Copy a range of data between two files");
next reply other threads:[~2020-04-30 21:42 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-30 21:41 Eric Sandeen [this message]
2020-05-01 8:07 ` [PATCH] xfs_io: copy_range can take up to 8 arguments Christoph Hellwig
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=08c6de7b-4caf-1162-29e5-94d8dfe959d6@redhat.com \
--to=sandeen@redhat.com \
--cc=linux-xfs@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 NNTP newsgroup(s).