[Devel] [PATCH hci-8.1 v3 2/5] dm-ploop: set delta is_raw before applying its mappings
Denis V. Lunev
den at openvz.org
Thu Oct 8 19:51:20 MSK 2026
On 08.10.2026 16:03, Alexander Ivanov wrote:
> ploop_apply_delta_mappings() takes is_raw from deltas[level], but
> ploop_add_delta() sets deltas[level].is_raw only after the mappings
> are applied. So a raw delta is handled as a non-raw one: its md_root
> is empty, ploop_md_first_entry() returns NULL and d_md->kmpage
> dereferences it.
Please say that this has been the case since the driver was added,
i.e. raw@ has never worked here. Otherwise somebody will go looking
for the commit that broke it.
Reviewed-by: Denis V. Lunev <den at openvz.org>
More information about the Devel
mailing list