mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-02 01:18:26 +03:00
Add 'already in device cache' debug message.
This commit is contained in:
parent
200ef4db90
commit
162d85b97b
@ -1,5 +1,6 @@
|
|||||||
Version 2.01.08 -
|
Version 2.01.08 -
|
||||||
================================
|
================================
|
||||||
|
Add 'already in device cache' debug message.
|
||||||
Add -a to pvdisplay -C.
|
Add -a to pvdisplay -C.
|
||||||
Avoid rmdir opendir error messsages when dir was already removed.
|
Avoid rmdir opendir error messsages when dir was already removed.
|
||||||
Tighten signal handlers.
|
Tighten signal handlers.
|
||||||
|
@ -186,7 +186,7 @@ static int _add_alias(struct device *dev, const char *path)
|
|||||||
/* Is name already there? */
|
/* Is name already there? */
|
||||||
list_iterate(ah, &dev->aliases) {
|
list_iterate(ah, &dev->aliases) {
|
||||||
if (!strcmp(list_item(ah, struct str_list)->str, path)) {
|
if (!strcmp(list_item(ah, struct str_list)->str, path)) {
|
||||||
stack;
|
log_debug("%s: Already in device cache", path);
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user