From: Arne Jansen Date: Thu, 9 Feb 2012 14:09:02 +0000 (+0100) Subject: btrfs: don't check DUP chunks twice X-Git-Tag: v3.3-rc5~9^2~18 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=859acaf1a29bbacf6256f1159210c8d6df992b33;p=pandora-kernel.git btrfs: don't check DUP chunks twice Because scrub enumerates the dev extent tree to find the chunks to scrub, it currently finds each DUP chunk twice and also scrubs it twice. This patch makes sure that scrub_chunk only checks that part of the chunk the dev extent has been found for. This only changes the behaviour for DUP chunks. Reported-and-tested-by: Stefan Behrens Signed-off-by: Arne Jansen --- Reading git-diff-tree failed