Version 2.02.63 -
================================
+ Fix incorrect removal of symlinks after LV deactivation fails.
Fix is_partitioned_dev not to attempt to reopen device.
Fix another thread race in clvmd.
Refactor management of vg->pvs list.
Version 1.02.46 -
================================
- Wipe memory buffers for dm-ioctl parameters before releaseing.
+ Change dm_tree_deactivate_children to fail if device is open.
+ Wipe memory buffers for dm-ioctl parameters before releasing.
Strictly require libudev if udev_sync is used.
Add support for ioctl's DM_UEVENT_GENERATED_FLAG.
r = _tree_action(dm, lv, DEACTIVATE);
- fs_del_lv(lv);
-
return r;
}
/* Refresh open_count */
if (!_info_by_dev(dinfo->major, dinfo->minor, 1, &info) ||
- !info.exists || info.open_count)
+ !info.exists)
continue;
+ if (info.open_count) {
+ r = 0;
+ continue;
+ }
+
if (!_deactivate_node(name, info.major, info.minor,
&child->dtree->cookie, child->udev_flags)) {
log_error("Unable to deactivate %s (%" PRIu32