diff options
author | Zhao Lei <zhaolei@cn.fujitsu.com> | 2015-08-19 22:39:18 +0800 |
---|---|---|
committer | Chris Mason <clm@fb.com> | 2015-11-10 19:27:00 -0800 |
commit | 4734b7ed79e1230602927a38bc4d04dbe9dd09c1 (patch) | |
tree | 8189e23882ebcf6f8634a626c0d9db4f41df1c78 /samples | |
parent | 9799d2c32bef6fba098fbef763002bc8d4851a2c (diff) |
btrfs: scrub: setup all fields for sblock_to_check
scrub_setup_recheck_block() isn't setup all necessary fields for
sblock_to_check because history reason.
So current code need more arguments in severial functions,
and more local variables, just to passing these lacked values to
necessary place.
This patch setup above fields to sblock_to_check in
scrub_setup_recheck_block(), for:
1: more cleanup for function arg, local variable
2: to make sblock_to_check complete, then we can use sblock_to_check
without concern about some uninitialized member.
Signed-off-by: Zhao Lei <zhaolei@cn.fujitsu.com>
Signed-off-by: Chris Mason <clm@fb.com>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions