Bug #18117
Updated by Jason Dillaman almost 7 years ago
Given a clone with a single protected snapshot, flatten the clone parent to dissociate the HEAD revision from the parent image. If you attempt to remove the protected snapshot, the first step will dissociate the snapshot from the parent image but later the operation will fail due to the snapshot being protected. This leaves the snapshot no longer associated with the parent image and will permit the parent image's snapshot to be unprotected and deleted. The protected status should be verified first before altering the image.