diff mbox

btrfs-progs: docs: document exit codes from scrub

Message ID 20160923215157.11497-1-kilobyte@angband.pl (mailing list archive)
State Accepted
Headers show

Commit Message

Adam Borowski Sept. 23, 2016, 9:51 p.m. UTC
Signed-off-by: Adam Borowski <kilobyte@angband.pl>
---
 Documentation/btrfs-scrub.asciidoc | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

Comments

David Sterba Sept. 26, 2016, 5:57 p.m. UTC | #1
On Fri, Sep 23, 2016 at 11:51:57PM +0200, Adam Borowski wrote:
> Signed-off-by: Adam Borowski <kilobyte@angband.pl>

Applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/Documentation/btrfs-scrub.asciidoc b/Documentation/btrfs-scrub.asciidoc
index 40e793c..e88e684 100644
--- a/Documentation/btrfs-scrub.asciidoc
+++ b/Documentation/btrfs-scrub.asciidoc
@@ -95,7 +95,14 @@  print separate statistics for each device of the filesystem
 EXIT STATUS
 -----------
 *btrfs scrub* returns a zero exit status if it succeeds. Non zero is
-returned in case of failure.
+returned in case of failure:
+
+1::::
+scrub couldn't be performed
+2::::
+there is nothing to resume
+3::::
+scrub found uncorrectable errors
 
 AVAILABILITY
 ------------