On 12/15/16 12:11 PM, Darrick J. Wong wrote: > The reflink command can reflink the entirety of two files if the > offsets and lengths are not specified... but we forgot to permit > that case. > > Signed-off-by: Darrick J. Wong <darrick.wong@xxxxxxxxxx> Reviewed-by: Eric Sandeen <sandeen@xxxxxxxxxx> and thanks for the 4/3 patch. > --- > io/reflink.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > > diff --git a/io/reflink.c b/io/reflink.c > index a09e82d..d26cbdd 100644 > --- a/io/reflink.c > +++ b/io/reflink.c > @@ -302,7 +302,7 @@ reflink_init(void) > reflink_cmd.name = "reflink"; > reflink_cmd.altname = "rl"; > reflink_cmd.cfunc = reflink_f; > - reflink_cmd.argmin = 4; > + reflink_cmd.argmin = 1; > reflink_cmd.argmax = -1; > reflink_cmd.flags = CMD_NOMAP_OK | CMD_FOREIGN_OK; > reflink_cmd.args = > > -- > To unsubscribe from this list: send the line "unsubscribe linux-xfs" in > the body of a message to majordomo@xxxxxxxxxxxxxxx > More majordomo info at http://vger.kernel.org/majordomo-info.html > -- To unsubscribe from this list: send the line "unsubscribe linux-xfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html