[lvm-devel] [PATCH] Update return code for lvm_config_reload.
Dave Wysochanski
dwysocha at redhat.com
Mon Jul 27 20:01:48 UTC 2009
---
liblvm/lvm_base.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/liblvm/lvm_base.c b/liblvm/lvm_base.c
index 33d8395..5003b0a 100644
--- a/liblvm/lvm_base.c
+++ b/liblvm/lvm_base.c
@@ -67,7 +67,7 @@ void lvm_destroy(lvm_t libh)
int lvm_config_reload(lvm_t libh)
{
/* FIXME: re-init locking needed here? */
- if (refresh_toolcontext((struct cmd_context *)libh))
+ if (!refresh_toolcontext((struct cmd_context *)libh))
return -1;
return 0;
}
--
1.6.0.6
More information about the lvm-devel
mailing list