]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: Use scrub_checksum_data and scrub_checksum_tree_block for scrub_recheck_block_...
authorZhao Lei <zhaolei@cn.fujitsu.com>
Mon, 24 Aug 2015 13:18:02 +0000 (21:18 +0800)
committerChris Mason <clm@fb.com>
Wed, 11 Nov 2015 03:27:06 +0000 (19:27 -0800)
commita94e2e554c80afbb50ee5518cf79ebd7e7dce64c
tree34c4d935046db8308637d270552162fe992647ba
parent5f0bebdabbdd5f5cb854b8120bbc1fa99413bc34
btrfs: Use scrub_checksum_data and scrub_checksum_tree_block for scrub_recheck_block_checksum

We can use existing scrub_checksum_data() and scrub_checksum_tree_block()
for scrub_recheck_block_checksum(), instead of write duplicated code.

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