mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-21 22:53:37 +00:00
Small updates to the generator.
This commit is contained in:
@@ -15,6 +15,12 @@ first be mounted on C</> before others can be mounted. Other
|
||||
filesystems can only be mounted on directories which already
|
||||
exist.
|
||||
|
||||
The mounted filesystem is writable, if we have sufficient permissions
|
||||
on the underlying device.
|
||||
|
||||
The filesystem options C<sync> and C<noatime> are set with this
|
||||
call, in order to improve reliability.
|
||||
|
||||
This function return 0 on success or -1 on error.
|
||||
|
||||
=head2 guestfs_sync
|
||||
|
||||
@@ -318,7 +318,6 @@ and generate_client_actions () =
|
||||
pr " serial = dispatch (g, GUESTFS_PROC_%s, NULL, NULL);\n"
|
||||
(String.uppercase shortname)
|
||||
| (_, args) ->
|
||||
pr "\n";
|
||||
iter_args (
|
||||
function
|
||||
| String name -> pr " args.%s = (char *) %s;\n" name name
|
||||
|
||||
@@ -61,7 +61,6 @@ int guestfs_mount (guestfs_h *g,
|
||||
|
||||
memset (&rv, 0, sizeof rv);
|
||||
|
||||
|
||||
args.device = (char *) device;
|
||||
args.mountpoint = (char *) mountpoint;
|
||||
serial = dispatch (g, GUESTFS_PROC_MOUNT,
|
||||
@@ -197,7 +196,6 @@ int guestfs_touch (guestfs_h *g,
|
||||
|
||||
memset (&rv, 0, sizeof rv);
|
||||
|
||||
|
||||
args.path = (char *) path;
|
||||
serial = dispatch (g, GUESTFS_PROC_TOUCH,
|
||||
(xdrproc_t) xdr_guestfs_touch_args, (char *) &args);
|
||||
|
||||
Reference in New Issue
Block a user