s/*end/*start. This makes 'btrfs balance start -dvrange=xxx..yyy' really work.
Signed-off-by: Liu Bo <[email protected]> --- cmds-balance.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmds-balance.c b/cmds-balance.c index c5be6b9..9f647cd 100644 --- a/cmds-balance.c +++ b/cmds-balance.c @@ -123,7 +123,7 @@ static int parse_range(const char *range, u64 *start, u64 *end) *start = 0; skipped++; } else { - *end = strtoull(range, &endptr, 10); + *start = strtoull(range, &endptr, 10); if (*endptr != 0 && *endptr != '.') return 1; } -- 2.5.0 -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
