summaryrefslogtreecommitdiffstats
path: root/perl/Guestfs.xs
diff options
context:
space:
mode:
authorRichard Jones <rjones@redhat.com>2009-05-18 20:22:53 +0100
committerRichard Jones <rjones@redhat.com>2009-05-18 20:22:53 +0100
commitca49c50e06834bbc68e21630a5552c57494f2b53 (patch)
tree0d1c98fd038abf05d7491f044c8affbfb461ce00 /perl/Guestfs.xs
parent0695593702b8612b500ff0b3bf800e5934f9b56e (diff)
downloadlibguestfs-ca49c50e06834bbc68e21630a5552c57494f2b53.tar.gz
libguestfs-ca49c50e06834bbc68e21630a5552c57494f2b53.tar.xz
libguestfs-ca49c50e06834bbc68e21630a5552c57494f2b53.zip
Generated code for lvresize, resize2fs.
Diffstat (limited to 'perl/Guestfs.xs')
-rw-r--r--perl/Guestfs.xs23
1 files changed, 23 insertions, 0 deletions
diff --git a/perl/Guestfs.xs b/perl/Guestfs.xs
index 374a40d1..5a6cf364 100644
--- a/perl/Guestfs.xs
+++ b/perl/Guestfs.xs
@@ -1894,3 +1894,26 @@ PREINIT:
if (r == -1)
croak ("vg_activate: %s", guestfs_last_error (g));
+void
+lvresize (g, device, mbytes)
+ guestfs_h *g;
+ char *device;
+ int mbytes;
+PREINIT:
+ int r;
+ PPCODE:
+ r = guestfs_lvresize (g, device, mbytes);
+ if (r == -1)
+ croak ("lvresize: %s", guestfs_last_error (g));
+
+void
+resize2fs (g, device)
+ guestfs_h *g;
+ char *device;
+PREINIT:
+ int r;
+ PPCODE:
+ r = guestfs_resize2fs (g, device);
+ if (r == -1)
+ croak ("resize2fs: %s", guestfs_last_error (g));
+