1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-08-09 05:49:28 +03:00

config: add profile arg to find_config_tree_bool

This commit is contained in:
Peter Rajnoha
2013-06-25 12:31:53 +02:00
parent aeffa4cb5b
commit d6a91da4be
16 changed files with 73 additions and 63 deletions

View File

@ -320,7 +320,7 @@ static void _lock_mem(struct cmd_context *cmd)
* Note: assuming _memlock_count_daemon is updated before _memlock_count
*/
_use_mlockall = _memlock_count_daemon ? 1 :
find_config_tree_bool(cmd, activation_use_mlockall_CFG);
find_config_tree_bool(cmd, activation_use_mlockall_CFG, NULL);
if (!_use_mlockall) {
if (!*_procselfmaps &&