diff options
| author | Ming Lei <[email protected]> | 2017-12-18 20:22:12 +0800 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2018-01-06 09:18:00 -0700 |
| commit | c16a8ac3c021f454550f851f5e0772b29a5125b0 (patch) | |
| tree | 74e6e1b92ce7244ff5a052a7189b9874981164a0 /include/linux/fpga/fpga-bridge.h | |
| parent | a0b60d725e54f1caba4f5dc0dfef68040bcf9a8e (diff) | |
btrfs: avoid accessing bvec table directly for a cloned bio
Commit 17347cec15f919901c90(Btrfs: change how we iterate bios in endio)
mentioned that for dio the submitted bio may be fast cloned, we
can't access the bvec table directly for a cloned bio, so use
bio_get_first_bvec() to retrieve the 1st bvec.
Cc: Chris Mason <[email protected]>
Cc: Josef Bacik <[email protected]>
Cc: David Sterba <[email protected]>
Cc: [email protected]
Cc: Liu Bo <[email protected]>
Reviewed-by: Liu Bo <[email protected]>
Acked: David Sterba <[email protected]>
Signed-off-by: Ming Lei <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'include/linux/fpga/fpga-bridge.h')
0 files changed, 0 insertions, 0 deletions