summaryrefslogtreecommitdiff
path: root/drivers/md/dm-uevent.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2020-11-07 11:30:05 +0300
committerJens Axboe <axboe@kernel.dk>2020-12-02 00:53:39 +0300
commit47d951023a242bb159534573a4a76fef9a31dc9b (patch)
treeb6999df52c97716f2cd8ea607200a5d4b3577dd6 /drivers/md/dm-uevent.h
parentf46f2a3198017cff1f3f8f71de74ff7abee3aa16 (diff)
downloadlinux-47d951023a242bb159534573a4a76fef9a31dc9b.tar.xz
dm: simplify flush_bio initialization in __send_empty_flush
We don't really need the struct block_device to initialize a bio. So switch from using bio_set_dev to manually setting up bi_disk (bi_partno will always be zero and has been cleared by bio_init already). Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Hannes Reinecke <hare@suse.de> Acked-by: Mike Snitzer <snitzer@redhat.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/md/dm-uevent.h')
0 files changed, 0 insertions, 0 deletions