summaryrefslogtreecommitdiff
path: root/fs/btrfs/zoned.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2022-12-12 08:37:20 +0100
committerDavid Sterba <dsterba@suse.com>2023-02-15 19:38:55 +0100
commit0d495430db8d704b3a70b244b54d5ee30cf03f69 (patch)
tree37fa3a96685aa3e34adcbe9b3ce5b4d753ca14a7 /fs/btrfs/zoned.c
parent72fcf1a47b8daba82ffdeddd630688df5ac1bddb (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 'fs/btrfs/zoned.c')
0 files changed, 0 insertions, 0 deletions