]> git.hungrycats.org Git - linux/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)
committerZygo Blaxell <zblaxell@waya.furryterror.org>
Fri, 27 Mar 2015 03:27:23 +0000 (23:27 -0400)
commit50cafc66222a214fb18f6df3f02feb737c21237b
treecb2f6636af66ce493c7dc6d7d4b5f0f94682e0f3
parentc3478aa5695f603f045e0ec98a8d66468369d5ee
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>
(cherry picked from commit be50a8ddaae1d07135fd7e1c7017c1611075a560)
fs/btrfs/scrub.c