I forgot to say that this commit fixes PR 44947. On May,Monday 30 2011, at 3:10 AM, Adam Hamsik wrote:
> Module Name: src > Committed By: haad > Date: Mon May 30 01:10:58 UTC 2011 > > Modified Files: > src/lib/libdm: libdm_ioctl.c > > Log Message: > Fix problem where DM_IOCTL_NAME was used in libdm_task_set_uuid except of > DM_IOCTL_UUID. This makes lvremove to work properly. > > Thanks To hugo Silva and Toby Karyadi for reporting this issue. > > > To generate a diff of this commit: > cvs rdiff -u -r1.1 -r1.2 src/lib/libdm/libdm_ioctl.c > > Please note that diffs are not public domain; they are subject to the > copyright notices on the relevant files. > > Modified files: > > Index: src/lib/libdm/libdm_ioctl.c > diff -u src/lib/libdm/libdm_ioctl.c:1.1 src/lib/libdm/libdm_ioctl.c:1.2 > --- src/lib/libdm/libdm_ioctl.c:1.1 Tue Feb 8 03:20:15 2011 > +++ src/lib/libdm/libdm_ioctl.c Mon May 30 01:10:57 2011 > @@ -262,7 +262,7 @@ > if ((prop_dictionary_set_cstring(libdm_task->ldm_task, > DM_IOCTL_NAME, name)) == false) > return ENOENT; > - > + > return 0; > } > > @@ -285,7 +285,7 @@ > { > > if ((prop_dictionary_set_cstring(libdm_task->ldm_task, > - DM_IOCTL_NAME, uuid)) == false) > + DM_IOCTL_UUID, uuid)) == false) > return ENOENT; > > return 0; > Regards Adam.