]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
btrfs: remove the start argument to check_data_csum and export
authorChristoph Hellwig <hch@lst.de>
Thu, 7 Jul 2022 05:33:29 +0000 (07:33 +0200)
committerDavid Sterba <dsterba@suse.com>
Mon, 25 Jul 2022 17:55:32 +0000 (19:55 +0200)
commit7959bd4411766899ad9c66235dab789a3e8dd7db
tree10d818fe6ba03f39783f66f2c8929432f039e771
parent7aa51232e2046cdd719a2f5c9a4537b84554d5a4
btrfs: remove the start argument to check_data_csum and export

Derive the value of start from the btrfs_bio now that ->file_offset is
always valid.  Also export and rename the function so it's available
outside of inode.c as we'll need that soon.

Reviewed-by: Nikolay Borisov <nborisov@suse.com>
Reviewed-by: Boris Burkov <boris@bur.io>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/ctree.h
fs/btrfs/inode.c