aboutsummaryrefslogtreecommitdiff
path: root/scripts/generate_rust_analyzer.py
diff options
context:
space:
mode:
authorChristoph Hellwig <[email protected]>2023-05-31 09:54:00 +0200
committerDavid Sterba <[email protected]>2023-06-19 13:59:36 +0200
commitfbe960877b6f434525cc38e44334157223058e09 (patch)
tree24252717807ff82c2f5e4ce02157487f6f80c1ff /scripts/generate_rust_analyzer.py
parentebfe4d4eb6ef6bd0f80293936808b77c1fc931b4 (diff)
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 <[email protected]> Reviewed-by: Josef Bacik <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]> Reviewed-by: David Sterba <[email protected]> Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions