On 12/19/16 1:50 PM, Darrick J. Wong wrote: > Prefix the perror output of the dedupe command consistently. All the > other perror calls reference the ioctl name directly, so we might as > well do that for all the dedupe cases. > > Signed-off-by: Darrick J. Wong <darrick.wong@xxxxxxxxxx> ok, after some offline discussion, *shrug* this is fine. Reviewed-by: Eric Sandeen <sandeen@xxxxxxxxxx> > --- > io/reflink.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/io/reflink.c b/io/reflink.c > index d4c745c..dde26b8 100644 > --- a/io/reflink.c > +++ b/io/reflink.c > @@ -79,12 +79,12 @@ dedupe_ioctl( > goto done; > } > if (info->status < 0) { > - fprintf(stderr, "dedupe: %s\n", > + fprintf(stderr, "XFS_IOC_FILE_EXTENT_SAME: %s\n", > _(strerror(-info->status))); > goto done; > } > if (info->status == XFS_EXTENT_DATA_DIFFERS) { > - fprintf(stderr, "dedupe: %s\n", > + fprintf(stderr, "XFS_IOC_FILE_EXTENT_SAME: %s\n", > _("Extents did not match.")); > goto done; > } > -- > 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