btrfs-progs: extend parse_range API to accept a relaxed range
authorDavid Sterba <dsterba@suse.com>
Sun, 11 Oct 2015 22:29:31 +0000 (00:29 +0200)
committerDavid Sterba <dsterba@suse.com>
Mon, 2 Nov 2015 08:35:04 +0000 (09:35 +0100)
commitbe85a75fece2fc226b3ef4d81bd1918c2002cc96
tree321dbcc6fbb6d6d970c4dd91d6c1c9240a8a7095
parent2b7f0192e84a913119fb3f5652e287909da735c9
btrfs-progs: extend parse_range API to accept a relaxed range

In some cases we want to accept a range of type [a..a]. Add a new
function to do the 'a < b' check for the caller and use it.

Signed-off-by: David Sterba <dsterba@suse.com>
cmds-balance.c