projects
/
platform
/
upstream
/
btrfs-progs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8b5147d
)
Btrfs-progs: fix typo in parse_range
author
Liu Bo
<bo.li.liu@oracle.com>
Wed, 6 Jan 2016 21:08:53 +0000
(13:08 -0800)
committer
David Sterba
<dsterba@suse.com>
Tue, 12 Jan 2016 14:01:06 +0000
(15:01 +0100)
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>
cmds-balance.c
patch
|
blob
|
history
diff --git
a/cmds-balance.c
b/cmds-balance.c
index e73bfcf86dccf8df9a4fca14046a81971eb1d50a..41c475bdefe5ad2718042db8cb36c6feea7fcc14 100644
(file)
--- 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;
}