OSDN Git Service

btrfs: use bbio->ordered in btrfs_csum_one_bio
authorChristoph Hellwig <hch@lst.de>
Wed, 31 May 2023 07:54:03 +0000 (09:54 +0200)
committerDavid Sterba <dsterba@suse.com>
Mon, 19 Jun 2023 11:59:37 +0000 (13:59 +0200)
commitc59360f61aebf173442c2a128910876b3e41bfd0
tree22f191756906ae08889cf677102fb4a7530ade9b
parentec63b84d4611b2f07e9242080f3e8de4a011820b
btrfs: use bbio->ordered in btrfs_csum_one_bio

Use the ordered_extent pointer in the btrfs_bio instead of looking it
up manually.

Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Reviewed-by: Josef Bacik <josef@toxicpanda.com>
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/file-item.c