]> git.ipfire.org Git - people/arne_f/kernel.git/commit
btrfs: Move leaf and node validation checker to tree-checker.c
authorQu Wenruo <quwenruo.btrfs@gmx.com>
Mon, 9 Oct 2017 01:51:02 +0000 (01:51 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 16 Jan 2019 21:16:08 +0000 (22:16 +0100)
commite74422ec1442a4fcd9b68074aaaa9de115ac9ea0
tree38c2c372acbcfdbddca22d2e0202190bf092ba46
parent68c23d09749e18e1099959e84aedcfc30fc8f633
btrfs: Move leaf and node validation checker to tree-checker.c

commit 557ea5dd003d371536f6b4e8f7c8209a2b6fd4e3 upstream.

It's no doubt the comprehensive tree block checker will become larger,
so moving them into their own files is quite reasonable.

Signed-off-by: Qu Wenruo <quwenruo.btrfs@gmx.com>
[ wording adjustments ]
Signed-off-by: David Sterba <dsterba@suse.com>
[bwh: Backported to 4.4:
 - The moved code is slightly different
 - Adjust context]
Signed-off-by: Ben Hutchings <ben.hutchings@codethink.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/btrfs/Makefile
fs/btrfs/disk-io.c
fs/btrfs/tree-checker.c [new file with mode: 0644]
fs/btrfs/tree-checker.h [new file with mode: 0644]