diff options
author | Wang Shilong <wangsl.fnst@cn.fujitsu.com> | 2013-09-10 10:28:29 +0800 |
---|---|---|
committer | Chris Mason <chris.mason@fusionio.com> | 2013-10-16 08:20:43 -0400 |
commit | f3ba66263473660aa4b2bde1623db7b969abdbae (patch) | |
tree | c44cfbc806f4b7a33c728eef8eb3e4777e5717f5 /root-tree.c | |
parent | cddbab982d3bb3bf969abb0a08de408699cbc285 (diff) |
Btrfs-progs: fix magic return value in cmds-balance.c
If there is no balance in progress, resume/pause/cancel
will return 2. Usage or syntax errors will return 1.
And 0 means operations return successfully.
Signed-off-by: Wang Shilong <wangsl.fnst@cn.fujitsu.com>
Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
Signed-off-by: David Sterba <dsterba@suse.cz>
Signed-off-by: Chris Mason <chris.mason@fusionio.com>
Diffstat (limited to 'root-tree.c')
0 files changed, 0 insertions, 0 deletions