aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/linux/blkdev.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2023-05-31 14:55:28 +0200
committerJens Axboe <axboe@kernel.dk>2023-06-05 10:57:40 -0600
commit26110d5afe8117d1b505fe735ac709bdf063f4da (patch)
treef47a47f513a338e49a43e5fda27945f33d271cab /include/linux/blkdev.h
parentblock: move more code to early-lookup.c (diff)
downloadwireguard-linux-26110d5afe8117d1b505fe735ac709bdf063f4da.tar.xz
wireguard-linux-26110d5afe8117d1b505fe735ac709bdf063f4da.zip
dm-snap: simplify the origin_dev == cow_dev check in snapshot_ctr
Use the block_device acquired in dm_get_device for the check instead of doing an extra lookup. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Mike Snitzer <snitzer@kernel.org> Link: https://lore.kernel.org/r/20230531125535.676098-18-hch@lst.de Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'include/linux/blkdev.h')
0 files changed, 0 insertions, 0 deletions