summaryrefslogtreecommitdiff
path: root/drivers/md/dm-uevent.c
diff options
context:
space:
mode:
authorMing Lei <ming.lei@redhat.com>2017-12-18 15:22:12 +0300
committerJens Axboe <axboe@kernel.dk>2018-01-06 19:18:00 +0300
commitc16a8ac3c021f454550f851f5e0772b29a5125b0 (patch)
tree74e6e1b92ce7244ff5a052a7189b9874981164a0 /drivers/md/dm-uevent.c
parenta0b60d725e54f1caba4f5dc0dfef68040bcf9a8e (diff)
downloadlinux-c16a8ac3c021f454550f851f5e0772b29a5125b0.tar.xz
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 <clm@fb.com> Cc: Josef Bacik <jbacik@fb.com> Cc: David Sterba <dsterba@suse.com> Cc: linux-btrfs@vger.kernel.org Cc: Liu Bo <bo.li.liu@oracle.com> Reviewed-by: Liu Bo <bo.li.liu@oracle.com> Acked: David Sterba <dsterba@suse.com> Signed-off-by: Ming Lei <ming.lei@redhat.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/md/dm-uevent.c')
0 files changed, 0 insertions, 0 deletions