[lvm-devel] LVM2/liblvm lvm_base.c
wysochanski at sourceware.org
wysochanski at sourceware.org
Mon Jul 27 21:02:36 UTC 2009
CVSROOT: /cvs/lvm2
Module name: LVM2
Changes by: wysochanski at sourceware.org 2009-07-27 21:02:35
Modified files:
liblvm : lvm_base.c
Log message:
Update return code for lvm_config_reload.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/liblvm/lvm_base.c.diff?cvsroot=lvm2&r1=1.7&r2=1.8
--- LVM2/liblvm/lvm_base.c 2009/07/27 21:02:17 1.7
+++ LVM2/liblvm/lvm_base.c 2009/07/27 21:02:35 1.8
@@ -67,7 +67,7 @@
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;
}
More information about the lvm-devel
mailing list