Skip to contentSkip to conversation

LVM2/lib/activate dev_manager.c

PATCH [email protected] 1 participant 1 message Jul 4, 2011

lore
Share & tools
lore
#0 lore raw

CVSROOT: /cvs/lvm2
Module name: LVM2
Changes by: agk at sourceware.org 2011-07-04 14:56:58

Modified files:
lib/activate : dev_manager.c

Log message:
reinstate accidentally-removed lines to fix pvmove again

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/lib/activate/dev_manager.c.diff?cvsroot=lvm2&r1=1.222&r2=1.223

lib/activate/dev_manager.c +0 -4
@@ -1802,10 +1802,6 @@
 int dev_manager_preload(struct dev_manager *dm, struct logical_volume *lv,
 			struct lv_activate_opts *laopts, int *flush_required)
 {
-	/* FIXME Update the pvmove implementation! */
-	if ((lv->status & PVMOVE) || (lv->status & LOCKED))
-		return 1;
-
 	if (!_tree_action(dm, lv, laopts, PRELOAD))
 		return 0;