[pve-devel] [PATCH 3/3] fwbr bridge cleanup on container umount

Alexandre DERUMIER aderumier at odiso.com
Tue Jun 3 10:23:48 CEST 2014


>>applied, although I don't really understand the origial vzctl code. 
>>Why are those scripts executed inside a for loop? 

>>for (i = 0; i < 2; i++) { 

>>Any idea? 

I really don't known why ....


----- Mail original ----- 

De: "Dietmar Maurer" <dietmar at proxmox.com> 
À: "Alexandre Derumier" <aderumier at odiso.com>, pve-devel at pve.proxmox.com 
Envoyé: Mardi 3 Juin 2014 08:49:28 
Objet: RE: [pve-devel] [PATCH 3/3] fwbr bridge cleanup on container umount 

applied, although I don't really understand the origial vzctl code. 
Why are those scripts executed inside a for loop? 

for (i = 0; i < 2; i++) { 

Any idea? 

> +@@ -216,6 +216,8 @@ int vps_umount(vps_handler *h, envid_t veid, const 
> fs_param *fs, 
> + } 
> + snprintf(buf, sizeof(buf), "%svps.%s", VPS_CONF_DIR, 
> + UMOUNT_PREFIX); 
> ++ snprintf(buf, sizeof(buf), "%s/proxmox.%s", SCRIPTDIR, 
> ++ UMOUNT_PREFIX); 
> + } 
> + } 
> + if (!(ret = fsumount(veid, fs))) 
> +-- 



More information about the pve-devel mailing list