diff --git a/WHATS_NEW b/WHATS_NEW index 4ed8edf68..6845e178d 100644 --- a/WHATS_NEW +++ b/WHATS_NEW @@ -1,5 +1,6 @@ Version 2.01.08 - ================================ + Add 'already in device cache' debug message. Add -a to pvdisplay -C. Avoid rmdir opendir error messsages when dir was already removed. Tighten signal handlers. diff --git a/lib/device/dev-cache.c b/lib/device/dev-cache.c index 246fc310c..cf301212d 100644 --- a/lib/device/dev-cache.c +++ b/lib/device/dev-cache.c @@ -186,7 +186,7 @@ static int _add_alias(struct device *dev, const char *path) /* Is name already there? */ list_iterate(ah, &dev->aliases) { if (!strcmp(list_item(ah, struct str_list)->str, path)) { - stack; + log_debug("%s: Already in device cache", path); return 1; } }