diff options
author | Christoph Hellwig <hch@lst.de> | 2023-05-31 15:55:28 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2023-06-05 19:57:40 +0300 |
commit | 26110d5afe8117d1b505fe735ac709bdf063f4da (patch) | |
tree | f47a47f513a338e49a43e5fda27945f33d271cab /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 7cadcaf1d82618852745e7206fffa2c72c17ce4b (diff) | |
download | linux-26110d5afe8117d1b505fe735ac709bdf063f4da.tar.xz |
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 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions