]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: backref: rename and move should_ignore_root()
authorQu Wenruo <wqu@suse.com>
Tue, 3 Mar 2020 06:26:02 +0000 (14:26 +0800)
committerDavid Sterba <dsterba@suse.com>
Mon, 25 May 2020 09:25:21 +0000 (11:25 +0200)
commit813befef38aa52adcbab5084e92079a79d53d9bb
treea70387b4d09a749ef7e6960c1f53fdd2ac6ed31e
parent3f8044e44a2a8580ec391e59cd4cf01f71e8fa13
btrfs: backref: rename and move should_ignore_root()

This function is mostly single purpose to relocation backref cache, but
since we're moving the main part of backref cache to backref.c, we need
to export such function.

And to avoid confusion, rename the function to
btrfs_should_ignore_reloc_root() make the name a little more clear.

Signed-off-by: Qu Wenruo <wqu@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/ctree.h
fs/btrfs/relocation.c