[Pkg-libvirt-commits] [libguestfs] 150/233: rescue: Note that we're not using add-drive-scratch here, and maybe we should be.

Hilko Bengen bengen at moszumanska.debian.org
Wed Feb 19 21:11:51 UTC 2014


This is an automated email from the git hooks/post-receive script.

bengen pushed a commit to branch experimental
in repository libguestfs.

commit 40261e4adcdef7b209954d003e2a1b0774e800b0
Author: Richard W.M. Jones <rjones at redhat.com>
Date:   Tue Jan 28 15:07:26 2014 +0000

    rescue: Note that we're not using add-drive-scratch here, and maybe we should be.
---
 rescue/rescue.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/rescue/rescue.c b/rescue/rescue.c
index 0442711..b46dad6 100644
--- a/rescue/rescue.c
+++ b/rescue/rescue.c
@@ -533,6 +533,8 @@ add_scratch_disk (struct drv **drvs)
   struct scratch_disk *sd;
   struct drv *drv;
 
+  /* XXX Is there a reason we're not using guestfs_add_drive_scratch here? */
+
   /* Create a temporary file, raw sparse format. */
   fd = mkstemp (filename_s);
   if (fd == -1) {

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-libvirt/libguestfs.git



More information about the Pkg-libvirt-commits mailing list