Version 2.02.01 -
====================================
+ Fix open RO->RW promotion.
Fix missing vg_revert in lvcreate error path.
Version 2.02.00 - 10th November 2005
((fstat(dev->fd, &buf) < 0) || (buf.st_rdev != dev->dev))) {
log_error("%s: fstat failed: Has device name changed?", name);
dev_close_immediate(dev);
- dev->open_count = 0;
return 0;
}
if (dev->open_count > 0)
dev->open_count--;
- if (immediate && dev->open_count) {
+ if (immediate && dev->open_count)
log_debug("%s: Immediate close attempt while still referenced",
dev_name(dev));
- dev->open_count = 0;
- }
/* Close unless device is known to belong to a locked VG */
if (immediate ||