diff options
author | Wang Shilong <wangsl.fnst@cn.fujitsu.com> | 2013-09-04 23:22:37 +0800 |
---|---|---|
committer | Chris Mason <chris.mason@fusionio.com> | 2013-10-16 08:20:42 -0400 |
commit | 5991043ea4e825f002d58472554cee4475dffb0d (patch) | |
tree | f048cf2e2f4d0a1d31506e85bdf11292dce348b2 /btrfs-image.c | |
parent | 2e8956a55f999c59525035a7f20b400a9bde22c6 (diff) |
Btrfs-progs: fix magic return value in cmds-scrub.c
There will be four kinds of return value for command "scrub start":
0: scrub dosen't find errors and return success.
1: usage or syntax errors.
3: scrub finds errors and correct all of them.
4: scrub finds errors and some of them are not correctable.
Three kinds of return values for scrub cancel/resume:
0: cancel successfully.
1: usage or syntax errors.
2: cancel a not started or finished scrub.
Signed-off-by: Wang Shilong <wangsl.fnst@cn.fujitsu.com>
Signed-off-by: David Sterba <dsterba@suse.cz>
Signed-off-by: Chris Mason <chris.mason@fusionio.com>
Diffstat (limited to 'btrfs-image.c')
0 files changed, 0 insertions, 0 deletions