From: Ilya Dryomov Date: Sun, 3 Nov 2013 17:06:38 +0000 (+0200) Subject: Btrfs: do not inc uncorrectable_errors counter on ro scrubs X-Git-Tag: v3.13-rc1~13^2~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=33ef30add16905f99bbe799ee5ccea15ba497803;p=pandora-kernel.git Btrfs: do not inc uncorrectable_errors counter on ro scrubs Currently if we discover an error when scrubbing in ro mode we a) blindly increment the uncorrectable_errors counter, and b) spam the dmesg with the 'unable to fixup (regular) error at ...' message, even though a) we haven't tried to determine if the error is correctable or not, and b) we haven't tried to fixup anything. Fix this. Cc: Stefan Behrens Signed-off-by: Ilya Dryomov Signed-off-by: Josef Bacik Signed-off-by: Chris Mason --- Reading git-diff-tree failed