]> git.ipfire.org Git - thirdparty/kernel/stable.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>
Sat, 8 Dec 2018 12:05:11 +0000 (13:05 +0100)
commit90eb4c02418bb479c1d154b57437fe4c2593ffb3
treedc98e945302ccea855fe41229e62b54e767057a9
parentdc564649a2917e0d8e7c00e60023ce3e90ebd7d2
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.9: The moved code is slightly different]
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]