[PATCH] Fix a failure to destroy formats on complex devices

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



We've hit a problem where, by the time we try to setup an lv to
destroy its formatting, the lv can no longer be set up. (#489975)

This is because we also scheduled destruction of the pvs' formatting
-- the format destroy action's constructor unsets the containing
device's format attribute so that the tree will reflect the pending
removal of the formatting. But, since everything is a reference, this
removal breaks our stack of devices such that we cannot set them up
to actually destroy the formatting when the time comes to do so.

The solution is to save a deep copy of the format's device stack so
that we are sure to have a way to setup the device when the time
comes to destroy its formatting.

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux