Signed-off-by: David Sterba <[email protected]>
---
cmds-balance.c | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
diff --git a/cmds-balance.c b/cmds-balance.c
index 457d693eec42..3166d7a73ba2 100644
--- a/cmds-balance.c
+++ b/cmds-balance.c
@@ -192,6 +192,25 @@ static int parse_range_u32(const char *range, u32 *start,
u32 *end)
return 0;
}
+__attribute__ ((unused))
+static void print_range(u64 start, u64 end)
+{
+ if (start)
+ printf("%llu", (unsigned long long)start);
+ printf("..");
+ if (end != (u64)-1)
+ printf("%llu", (unsigned long long)end);
+}
+
+static void print_range_u32(u32 start, u32 end)
+{
+ if (start)
+ printf("%u", start);
+ printf("..");
+ if (end != (u32)-1)
+ printf("%u", end);
+}
+
static int parse_filters(char *filters, struct btrfs_balance_args *args)
{
char *this_char;
--
2.6.1
--
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