dm: disallow stacking noclone support
Stacking noclone targets creates more complexity than is tolerable.
Reasoning through the different use-cases requires too much effort and
it would only get harder to maintain over time. Avoid this complexity
and as a side-effect fix boot hangs that were reported due to the
relaxed negative check that was added by commit 1efa3bb79d3d ("dm: must
allocate dm_noclone for stacked noclone devices").
Fixes: 1efa3bb79d3d ("dm: must allocate dm_noclone for stacked noclone devices")
Reported-by: Michael Holzheu <holzheu@linux.ibm.com>
Reported-by: Alexander Duyck <alexander.duyck@gmail.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
1 file changed