]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: Bypass unrelated items before accessing its contents in scrub
authorZhao Lei <zhaolei@cn.fujitsu.com>
Wed, 22 Jul 2015 05:14:48 +0000 (13:14 +0800)
committerChris Mason <clm@fb.com>
Sun, 9 Aug 2015 14:07:12 +0000 (07:07 -0700)
commitc923f973b959978b54620aa4f1fdadeeda8f549e
tree1c14e07f499eac31c20fd3467b36a6722e5d8c69
parent67fc144ab555c0263724a967f10fe3b4e3b86686
btrfs: Bypass unrelated items before accessing its contents in scrub

When we access extent_root in scrub_stripe() and
scrub_raid56_parity(), we need bypass unrelated tree item firstly
before using its contents to do other condition.

It is not a bug fix, only making code sequence in logic.

Signed-off-by: Zhao Lei <zhaolei@cn.fujitsu.com>
Signed-off-by: Chris Mason <clm@fb.com>
fs/btrfs/scrub.c