diff options
author | Petr Rockai <prockai@redhat.com> | 2009-11-19 01:11:57 +0000 |
---|---|---|
committer | Petr Rockai <prockai@redhat.com> | 2009-11-19 01:11:57 +0000 |
commit | 4514bdcfa2451f29fc4bcd5a9dab2e3891cc8ad0 (patch) | |
tree | 4c975c7e3c9eb4c8066b821f5877afc6923786fc /tools/lvmcmdlib.c | |
parent | c85222c46105e530f718ce9ad63ef6b36a2ee933 (diff) | |
download | lvm2-4514bdcfa2451f29fc4bcd5a9dab2e3891cc8ad0.tar.gz |
Fix another bug in memlock handling, this time the "global" dmeventd memlock
was preventing device scans in lvconvert --repair running from inside dmeventd.
Diffstat (limited to 'tools/lvmcmdlib.c')
-rw-r--r-- | tools/lvmcmdlib.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/lvmcmdlib.c b/tools/lvmcmdlib.c index 5cde0c4e6..bbdf08c7e 100644 --- a/tools/lvmcmdlib.c +++ b/tools/lvmcmdlib.c @@ -82,9 +82,9 @@ int lvm2_run(void *handle, const char *cmdline) /* FIXME Temporary - move to libdevmapper */ ret = ECMD_PROCESSED; if (!strcmp(cmdline, "_memlock_inc")) - memlock_inc(); + memlock_inc_daemon(); else if (!strcmp(cmdline, "_memlock_dec")) - memlock_dec(); + memlock_dec_daemon(); else ret = lvm_run_command(cmd, argc, argv); |