summaryrefslogtreecommitdiffstats
path: root/daemon/mount.c
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2009-08-10 23:07:21 +0200
committerJim Meyering <meyering@redhat.com>2009-08-13 14:45:34 +0200
commit0c07f0d23698798475e0d09491812aca52440328 (patch)
treef491f09a5681ddb920b5dee5b2fe7f084f355412 /daemon/mount.c
parent8601bbda56cdb2b8491b6e2054596ec9599c38f1 (diff)
downloadlibguestfs-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/mount.c')
-rw-r--r--daemon/mount.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/daemon/mount.c b/daemon/mount.c
index 8cf68749..14e683af 100644
--- a/daemon/mount.c
+++ b/daemon/mount.c
@@ -48,8 +48,6 @@ do_mount_vfs (char *options, char *vfstype,
char *mp;
char *error;
- RESOLVE_DEVICE (device, return -1);
-
is_root = strcmp (mountpoint, "/") == 0;
if (!root_mounted && !is_root) {