summaryrefslogtreecommitdiff
path: root/block/partitions/mac.c
diff options
context:
space:
mode:
authorIlya Dryomov <idryomov@gmail.com>2013-11-03 17:06:38 (GMT)
committerChris Mason <chris.mason@fusionio.com>2013-11-21 01:41:38 (GMT)
commit33ef30add16905f99bbe799ee5ccea15ba497803 (patch)
tree8340a2d3838b999c63e68a92b7efa28b9403fc5b /block/partitions/mac.c
parentd006a04816a306995cd9d394079652a7462f81f8 (diff)
downloadlinux-33ef30add16905f99bbe799ee5ccea15ba497803.tar.xz
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 <sbehrens@giantdisaster.de> Signed-off-by: Ilya Dryomov <idryomov@gmail.com> Signed-off-by: Josef Bacik <jbacik@fusionio.com> Signed-off-by: Chris Mason <chris.mason@fusionio.com>
Diffstat (limited to 'block/partitions/mac.c')
0 files changed, 0 insertions, 0 deletions