diff options
| author | 2022-12-12 08:37:20 +0100 | |
|---|---|---|
| committer | 2023-02-15 19:38:55 +0100 | |
| commit | 0d495430db8d704b3a70b244b54d5ee30cf03f69 (patch) | |
| tree | 37fa3a96685aa3e34adcbe9b3ce5b4d753ca14a7 /rust/kernel/ssh:/git@git.zx2c4.com | |
| parent | btrfs: use file_offset to limit bios size in calc_bio_boundaries (diff) | |
btrfs: set bbio->file_offset in alloc_new_bio
Instead of digging into the bio_vec in submit_one_bio, set file_offset at
bio allocation time from the provided parameter. This also ensures that
the file_offset is available all the time when building up the bio
payload.
Reviewed-by: Josef Bacik <josef@toxicpanda.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'rust/kernel/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
