]> www.infradead.org Git - users/hch/block.git/commit
dm: add a clone_to_tio helper
authorChristoph Hellwig <hch@lst.de>
Thu, 13 Jan 2022 08:36:48 +0000 (09:36 +0100)
committerChristoph Hellwig <hch@lst.de>
Wed, 2 Feb 2022 15:03:46 +0000 (16:03 +0100)
commitd341bdc3cf5693ef546f2a69f5940a86d0ce59c8
tree643b54380fe8063bedb6055f98dc2c11cb713b99
parent4ea0a2e01a5639fa2f9508cd8ff5c9a88b518ff2
dm: add a clone_to_tio helper

Add a helper to stop open coding the container_of operations to get
from the clone bio to the tio structure.

Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/md/dm.c