btrfs: Always pass 0 bio_offset for btree_submit_bio_start
authorNikolay Borisov <nborisov@suse.com>
Wed, 10 Apr 2019 14:24:42 +0000 (17:24 +0300)
committerDavid Sterba <dsterba@suse.com>
Mon, 29 Apr 2019 17:02:47 +0000 (19:02 +0200)
commite68f2ee72181697d574e3049426b9d4fe5b5ec4d
tree9e516d7166b4c1fedbbe7795b0ca06b753e9d99c
parente7681167c36f451b1645211116ef287d9c47b07a
btrfs: Always pass 0 bio_offset for btree_submit_bio_start

The btree submit hook queues the async csum and forwards the bio_offset
parameter passed to btree_submit_bio_hook. This is redundant since
btree_submit_bio_start calls btree_csum_one_bio which doesn't use the
offset at all. No functional changes.

Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: Nikolay Borisov <nborisov@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/disk-io.c