Searched hist:"65886 d2b1fd42cd9e8b0540782078591e8752012" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/fs/btrfs/ |
H A D | file-item.c | diff 65886d2b1fd42cd9e8b0540782078591e8752012 Wed Feb 22 11:07:01 CST 2023 Christoph Hellwig <hch@lst.de> btrfs: remove search_file_offset_in_bio
There is no need to search for a file offset in a bio, it is now always provided in bbio->file_offset (set at bio allocation time since 0d495430db8d ("btrfs: set bbio->file_offset in alloc_new_bio")). Just use that with the offset into the bio.
Reviewed-by: Anand Jain <anand.jain@oracle.com> Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com> Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
|