Re: [PATCH v2 18/20] Btrfs-progs: fix magic return value in cmds-balance.c

2013-09-10 Thread Ilya Dryomov
On Tue, Sep 10, 2013 at 5:28 AM, Wang Shilong wrote: > 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 > --- > v1->v2: > Address comments from Ilya

[PATCH v2 18/20] Btrfs-progs: fix magic return value in cmds-balance.c

2013-09-09 Thread Wang Shilong
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 --- v1->v2: Address comments from Ilya Dryomov. --- cmds-balance.c | 27 ++- 1 file