diff options
author | 2023-05-31 09:54:00 +0200 | |
---|---|---|
committer | 2023-06-19 13:59:36 +0200 | |
commit | fbe960877b6f434525cc38e44334157223058e09 (patch) | |
tree | 24252717807ff82c2f5e4ce02157487f6f80c1ff /drivers/pci/controller/dwc | |
parent | btrfs: remove btrfs_add_ordered_extent (diff) | |
download | wireguard-linux-fbe960877b6f434525cc38e44334157223058e09.tar.xz wireguard-linux-fbe960877b6f434525cc38e44334157223058e09.zip |
btrfs: add a is_data_bbio helper
Add a helper to check for that a btrfs_bio has a valid inode, and that
it is a data inode to key off all the special handling for data path
checksumming. Note that this uses is_data_inode instead of REQ_META as
REQ_META is only set directly before submission in submit_one_bio and
we'll also want to use this helper for error handling where REQ_META
isn't set yet.
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>
Diffstat (limited to 'drivers/pci/controller/dwc')
0 files changed, 0 insertions, 0 deletions