Btrfs: don't count CRC or header errors twice while scrubbing
authorStefan Behrens <sbehrens@giantdisaster.de>
Fri, 30 Mar 2012 11:58:31 +0000 (13:58 +0200)
committerDavid Sterba <dsterba@suse.cz>
Wed, 18 Apr 2012 17:22:36 +0000 (19:22 +0200)
commit5c84fc3c3914e9adfa6155a167c6c0c2709e6a62
treeb2ef30b7872dc9f31f621681169abaf4eb9e8205
parent99ba55ad696944b37d5557bc5b4816890854fdb9
Btrfs: don't count CRC or header errors twice while scrubbing

Each CRC or header error was counted twice, this is now fixed.

Signed-off-by: Stefan Behrens <sbehrens@giantdisaster.de>
fs/btrfs/scrub.c