btrfs: return bool from check_tree_block_fsid instead of int
authorAnand Jain <anand.jain@oracle.com>
Wed, 24 May 2023 12:02:39 +0000 (20:02 +0800)
committerDavid Sterba <dsterba@suse.com>
Mon, 19 Jun 2023 11:59:29 +0000 (13:59 +0200)
commit413fb1bc1d3224e508c698cd82e5ff1dc7d16d64
treea9f9945e24b9a4c9c961e6c4f950e8546362065d
parentf62c302e6dfe7bb03b35157e1c1b7cdaeabd54f9
btrfs: return bool from check_tree_block_fsid instead of int

Simplify the return type of check_tree_block_fsid() from int (1 or 0) to
bool. Its only user is interested in knowing the success or failure.

Signed-off-by: Anand Jain <anand.jain@oracle.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/disk-io.c