]> git.baikalelectronics.ru Git - kernel.git/commit
Btrfs: Simplify scrub_setup_recheck_block()'s argument
authorZhao Lei <zhaolei@cn.fujitsu.com>
Tue, 20 Jan 2015 07:11:42 +0000 (15:11 +0800)
committerChris Mason <clm@fb.com>
Thu, 22 Jan 2015 02:06:49 +0000 (18:06 -0800)
commitf48cbb036d0a1198634e307483d33d9be535f999
tree2867a34bbb15f23f9fa8a659bc3147d6fba0f8cc
parent005aab65a7bc3eecafefabdfcf0569c4bc41339b
Btrfs: Simplify scrub_setup_recheck_block()'s argument

scrub_setup_recheck_block() have many arguments but most of them
can be get from one of them, we can remove them to make code clean.
Some other cleanup for that function also included in this patch.

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