diff options
| author | Omar Sandoval <[email protected]> | 2020-04-16 14:46:16 -0700 |
|---|---|---|
| committer | David Sterba <[email protected]> | 2020-05-25 11:25:25 +0200 |
| commit | fb30f4707d421add0f4bf9a08bb228daac273b9f (patch) | |
| tree | 163e2784f9e69c0032d9f45e11b28fe7a58f27ed /tools/perf/scripts/python/bin | |
| parent | f337bd7478178f4c5e2b825fdb8dfaa266c344a2 (diff) | |
btrfs: clarify btrfs_lookup_bio_sums documentation
Fix a couple of issues in the btrfs_lookup_bio_sums documentation:
* The bio doesn't need to be a btrfs_io_bio if dst was provided. Move
the declaration in the code to make that clear, too.
* dst must be large enough to hold nblocks * csum_size, not just
csum_size.
Reviewed-by: Josef Bacik <[email protected]>
Reviewed-by: Johannes Thumshirn <[email protected]>
Reviewed-by: Nikolay Borisov <[email protected]>
Signed-off-by: Omar Sandoval <[email protected]>
Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions