LVM2/lib/metadata lv_manip.c
CVSROOT: /cvs/lvm2
Module name: LVM2
Changes by: zkabelac at sourceware.org 2010-01-14 10:09:42
Modified files:
lib/metadata : lv_manip.c
Log message:
Move initialization of the 'cmd' member of the struct alloc_handle before the first potentional return.
lib/metadata/lv_manip.c +2 -2
@@ -566,11 +566,11 @@return NULL ; } + ah->cmd = cmd; +if (segtype_is_virtual (segtype))return ah; - ah->cmd = cmd; -if (!(ah->mem =dm_pool_create ("allocation" ,1024 ))) {log_error ("allocation pool creation failed" );return NULL ;