LVM2/lib/cache lvmcache.c
CVSROOT: /cvs/lvm2
Module name: LVM2
Changes by: agk at sourceware.org 2010-03-16 19:06:58
Modified files:
lib/cache : lvmcache.c
Log message:
fix last checkin
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/lib/cache/lvmcache.c.diff?cvsroot=lvm2&r1=1.80&r2=1.81
lib/cache/lvmcache.c +5 -4
@@ -605,9 +605,9 @@ (!precommitted && vginfo->precommitted && !memlock()))return NULL ; -if (!(fid = vginfo->fmt->ops->create_instance (vginfo->fmt, - vginfo->vgname, - vgid,NULL ))) +if (!(fid = vginfo->fmt->ops->create_instance (vginfo->fmt, + vginfo->vgname, + vgid,NULL ))) return_NULL; if (!(vg = import_vg_from_buffer(vginfo->vgmetadata, fid)) ||
@@ -733,7 +733,8 @@return NULL ;lvmcache_label_scan (cmd,2 ); - *scan_done_once =1 ; +if (scan_done_once) + *scan_done_once =1 ;/* Try again */ if ((info =info_from_pvid ((char *) pvid,0 ))) {