1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-03 05:18:29 +03:00

some missing debug messages

This commit is contained in:
Alasdair Kergon 2010-03-09 12:31:51 +00:00
parent d0c3da55a0
commit 415feb2f44

View File

@ -141,13 +141,18 @@ static int _maps_line(struct cmd_context *cmd, lvmlock_t lock,
}
/* Select readable maps */
if (fr != 'r')
if (fr != 'r') {
log_debug("mlock area unreadable '%s': Skipping.", line);
return 1;
}
/* always ignored areas */
for (i = 0; i < sizeof(_ignore_maps) / sizeof(_ignore_maps[0]); ++i)
if (strstr(line + pos, _ignore_maps[i]))
if (strstr(line + pos, _ignore_maps[i])) {
log_debug("mlock ignore filter '%s' matches '%s': Skipping.",
_ignore_maps[i], line);
return 1;
}
sz = to - from;
if (!(cn = find_config_tree_node(cmd, "activation/mlock_filter"))) {