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@oracle.com>
Reviewed-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
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 =