1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00

Only create LV symlinks on ACTIVATE not PRELOAD.

(This is the udev behaviour - but does this change break anything?)
This commit is contained in:
Alasdair Kergon 2009-08-03 18:09:25 +00:00
parent a74be32bf6
commit aaa01e3488
2 changed files with 5 additions and 4 deletions

View File

@ -1,5 +1,6 @@
Version 2.02.51 - Version 2.02.51 -
================================ ================================
Only change LV symlinks on ACTIVATE not PRELOAD.
Make lvconvert honour log mirror options combined with downconversion. Make lvconvert honour log mirror options combined with downconversion.
Allow LV suspend while --ignorelockingfailure is in force. Allow LV suspend while --ignorelockingfailure is in force.
Update synopsis in lvconvert manpage to mention --repair. Update synopsis in lvconvert manpage to mention --repair.

View File

@ -1212,12 +1212,12 @@ static int _tree_action(struct dev_manager *dm, struct logical_volume *lv, actio
stack; stack;
if (!r) if (!r)
goto_out; goto_out;
if (!_create_lv_symlinks(dm, root)) {
log_error("Failed to create symlinks for %s.", lv->name);
goto out;
}
} }
if (!_create_lv_symlinks(dm, root)) {
log_error("Failed to create symlinks for %s.", lv->name);
goto out;
}
break; break;
default: default:
log_error("_tree_action: Action %u not supported.", action); log_error("_tree_action: Action %u not supported.", action);