summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/relocation.h
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.com>2023-09-22 13:07:25 +0200
committerDavid Sterba <dsterba@suse.com>2023-10-12 16:44:13 +0200
commit32f2abca380fedc60f7a8d3288e4c9586672e207 (patch)
treecd5fb50fe6b0e5cf9c4f03aed968f9cdc9831c84 /fs/btrfs/relocation.h
parentbtrfs: switch btrfs_backref_cache::is_reloc to bool (diff)
downloadlinux-32f2abca380fedc60f7a8d3288e4c9586672e207.tar.xz
linux-32f2abca380fedc60f7a8d3288e4c9586672e207.zip
btrfs: relocation: return bool from btrfs_should_ignore_reloc_root
btrfs_should_ignore_reloc_root() is a predicate so it should return bool. Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com> Reviewed-by: Qu Wenruo <wqu@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/relocation.h')
-rw-r--r--fs/btrfs/relocation.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/relocation.h b/fs/btrfs/relocation.h
index 77d69f6ae967..af749c780b4e 100644
--- a/fs/btrfs/relocation.h
+++ b/fs/btrfs/relocation.h
@@ -18,7 +18,7 @@ int btrfs_reloc_post_snapshot(struct btrfs_trans_handle *trans,
struct btrfs_pending_snapshot *pending);
int btrfs_should_cancel_balance(struct btrfs_fs_info *fs_info);
struct btrfs_root *find_reloc_root(struct btrfs_fs_info *fs_info, u64 bytenr);
-int btrfs_should_ignore_reloc_root(struct btrfs_root *root);
+bool btrfs_should_ignore_reloc_root(struct btrfs_root *root);
u64 btrfs_get_reloc_bg_bytenr(struct btrfs_fs_info *fs_info);
#endif