Jarod.w has uploaded a new change for review.

Change subject: add -d parameter when umouning in mk_sysprep_floppy
......................................................................

add -d parameter when umouning in mk_sysprep_floppy

After umounting mntpoint successfully, it doesn't free automatically
the loop device. Here, we add '-d' parameter to free the device to
prevent it using up all loop devices.

Change-Id: If3f964b50a38e8dc180d20f7e6687a092b7dc272
Signed-off-by: jarod.w <[email protected]>
---
M vdsm/mk_sysprep_floppy.in
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/75/8675/1

diff --git a/vdsm/mk_sysprep_floppy.in b/vdsm/mk_sysprep_floppy.in
index 5c491f0..8981702 100644
--- a/vdsm/mk_sysprep_floppy.in
+++ b/vdsm/mk_sysprep_floppy.in
@@ -37,6 +37,6 @@
 
 /bin/cat > $mntpoint/sysprep.inf
 
-umount $mntpoint
+umount -d $mntpoint
 rmdir $mntpoint
 


--
To view, visit http://gerrit.ovirt.org/8675
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: If3f964b50a38e8dc180d20f7e6687a092b7dc272
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Jarod.w <[email protected]>
_______________________________________________
vdsm-patches mailing list
[email protected]
https://lists.fedorahosted.org/mailman/listinfo/vdsm-patches

Reply via email to