]> 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)
commit6742a10952339b44e0cd0524d0dc327476aab290
treea70387b4d09a749ef7e6960c1f53fdd2ac6ed31e
parent237ca378ac64df2d21632163560ebdc36e0d7b97
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