1
0
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:
Alasdair Kergon 2005-03-21 14:51:49 +00:00
parent 200ef4db90
commit 162d85b97b
2 changed files with 2 additions and 1 deletions

View File

@ -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.

View File

@ -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;
} }
} }