]> git.proxmox.com Git - mirror_ubuntu-eoan-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)
commitbe50a8ddaae1d07135fd7e1c7017c1611075a560
tree2867a34bbb15f23f9fa8a659bc3147d6fba0f8cc
parentb968fed1c3810a0a0d575cab8a72431fbc807615
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