btrfs: switch search_file_offset_in_bio to return bool
authorAnand Jain <anand.jain@oracle.com>
Fri, 10 Feb 2023 16:15:55 +0000 (00:15 +0800)
committerDavid Sterba <dsterba@suse.com>
Mon, 17 Apr 2023 16:01:13 +0000 (18:01 +0200)
commit19337f8ea3fc0ed177142bbaf8496cda26f1432e
treef5f7289ddc588f2605a2fa7012814618655cb297
parentda8269a3e9edb8c57cd5448e07a5157872ddd143
btrfs: switch search_file_offset_in_bio to return bool

Function search_file_offset_in_bio() finds the file offset in the
file_offset_ret, and we use the return value to indicate if it is
successful, so use bool.

Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Anand Jain <anand.jain@oracle.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/file-item.c