]> 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)
commitfde366f8dfd5f5031609ca34c71953980511c230
tree2867a34bbb15f23f9fa8a659bc3147d6fba0f8cc
parent28b8f6c592e379831eb7dc525f837cc07f6d32a1
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