aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/progs/test_autoload.c
diff options
context:
space:
mode:
authorChristoph Hellwig <[email protected]>2022-07-07 07:33:28 +0200
committerDavid Sterba <[email protected]>2022-07-25 19:55:19 +0200
commit7aa51232e2046cdd719a2f5c9a4537b84554d5a4 (patch)
tree3a11db9c20f9bf3b868ceb5c8e4f4df087182944 /tools/testing/selftests/bpf/progs/test_autoload.c
parent524bcd1e178da1dccf24d9fc60fb20a35ec45e88 (diff)
btrfs: pass a btrfs_bio to btrfs_repair_one_sector
Pass the btrfs_bio instead of the plain bio to btrfs_repair_one_sector, and remove the start and failed_mirror arguments in favor of deriving them from the btrfs_bio. For this to work ensure that the file_offset field is also initialized for buffered I/O. Reviewed-by: Nikolay Borisov <[email protected]> Reviewed-by: Boris Burkov <[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 'tools/testing/selftests/bpf/progs/test_autoload.c')
0 files changed, 0 insertions, 0 deletions