summaryrefslogtreecommitdiff
path: root/crypto/sha256_generic.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2022-05-26 10:36:33 +0300
committerDavid Sterba <dsterba@suse.com>2022-07-25 18:45:32 +0300
commitb4c46bdea96af1c79cfc0bcd0b387af311368145 (patch)
tree82e6409fc87d2326dc4ab3cf75926bb82201f510 /crypto/sha256_generic.c
parentd6815592806f481244d0e3435ca1f5383d90a14c (diff)
downloadlinux-b4c46bdea96af1c79cfc0bcd0b387af311368145.tar.xz
btrfs: move more work into btrfs_end_bioc
Assign ->mirror_num and ->bi_status in btrfs_end_bioc instead of duplicating the logic in the callers. Also remove the bio argument as it always must be bioc->orig_bio and the now pointless bioc_error that did nothing but assign bi_sector to the same value just sampled in the caller. Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com> Reviewed-by: Qu Wenruo <wqu@suse.com> Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'crypto/sha256_generic.c')
0 files changed, 0 insertions, 0 deletions