OSDN Git Service

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)
commit55465730bcea75606c2c281ca55701c7fc20a000
treea70387b4d09a749ef7e6960c1f53fdd2ac6ed31e
parent982c92cbd51cf6ab1319e1e94dfd4902d3678d9a
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