Btrfs-progs: fix typo in parse_range
s/*end/*start. This makes 'btrfs balance start -dvrange=xxx..yyy' really work. Signed-off-by: Liu Bo <bo.li.liu@oracle.com> Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
parent
8b5147d5f3
commit
4ec28aec76
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue