diff options
author | Jim Meyering <meyering@redhat.com> | 2009-08-10 23:07:21 +0200 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2009-08-13 14:45:34 +0200 |
commit | 0c07f0d23698798475e0d09491812aca52440328 (patch) | |
tree | f491f09a5681ddb920b5dee5b2fe7f084f355412 /daemon/devsparts.c | |
parent | 8601bbda56cdb2b8491b6e2054596ec9599c38f1 (diff) | |
download | libguestfs-0c07f0d23698798475e0d09491812aca52440328.tar.gz libguestfs-0c07f0d23698798475e0d09491812aca52440328.tar.xz libguestfs-0c07f0d23698798475e0d09491812aca52440328.zip |
* src/generator.ml: Change all `String "device"' to `Device "device"'.
Then update each affected function, removing each uses of RESOLVE_DEVICE,
now that it's generated in caller from stub.c.
* daemon/blockdev.c (call_blockdev): Remove use of RESOLVE_DEVICE.
* daemon/devsparts.c (do_mkfs): Likewise.
* daemon/ext2.c (do_e2fsck_f, do_get_e2label, do_get_e2uuid): Likewise.
(do_resize2fs, do_set_e2label, do_set_e2uuid, do_tune2fs_l): Likewise.
* daemon/fsck.c (do_fsck): Likewise.
* daemon/grub.c (do_grub_install): Likewise.
* daemon/lvm.c (do_lvremove, do_pvcreate, do_pvremove): Likewise.
(do_pvresize): Likewise.
* daemon/mount.c (do_mount_vfs): Likewise.
* daemon/ntfs.c (do_ntfs_3g_probe): Likewise.
* daemon/scrub.c (do_scrub_device): Likewise.
* daemon/sfdisk.c (sfdisk, sfdisk_flag): Likewise.
* daemon/swap.c (do_mkswap, do_mkswap_L, do_mkswap_U): Likewise.
(do_swapoff_device, do_swapon_device): Likewise.
* daemon/zero.c (do_zero): Likewise.
* daemon/zerofree.c (do_zerofree): Likewise.
Diffstat (limited to 'daemon/devsparts.c')
-rw-r--r-- | daemon/devsparts.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/daemon/devsparts.c b/daemon/devsparts.c index c3b9756c..04585ed7 100644 --- a/daemon/devsparts.c +++ b/daemon/devsparts.c @@ -193,8 +193,6 @@ do_mkfs (char *fstype, char *device) char *err; int r; - RESOLVE_DEVICE (device, return -1); - r = command (NULL, &err, "/sbin/mkfs", "-t", fstype, device, NULL); if (r == -1) { reply_with_error ("mkfs: %s", err); |