aboutsummaryrefslogtreecommitdiff
path: root/fs/btrfs/dev-replace.c
diff options
context:
space:
mode:
authorNikolay Borisov <nborisov@suse.com>2019-04-10 17:24:41 +0300
committerDavid Sterba <dsterba@suse.com>2019-04-29 19:02:46 +0200
commite7681167c36f451b1645211116ef287d9c47b07a (patch)
treefe9374f8ce23c10169979755569d80e3439ecb71 /fs/btrfs/dev-replace.c
parentc2ccfbc62e9f00979fc1a82ab93ff0a4ddd8944a (diff)
downloadlinux-e7681167c36f451b1645211116ef287d9c47b07a.tar.gz
linux-e7681167c36f451b1645211116ef287d9c47b07a.tar.bz2
linux-e7681167c36f451b1645211116ef287d9c47b07a.zip
btrfs: Pass 0 for bio_offset to btrfs_wq_submit_bio
Buffered writeback always calls btrfs_csum_one_bio with the last 2 arguments being 0 irrespective of what the bio_offset has been passed to btrfs_submit_bio_start. Make this apparent by explicitly passing 0 for bio_offset when calling btrfs_wq_submit_bio from btrfs_submit_bio_hook. This will allow for further simplifications down the line. 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>
Diffstat (limited to 'fs/btrfs/dev-replace.c')
0 files changed, 0 insertions, 0 deletions