Displaying 7 results from an estimated 7 matches for "cf96039".
2014 Nov 21
2
Re: [PATCH 5/6] New API: btrfs_subvolume_get_default
...rtol to parse the output.
> + reply_with_error ("%s: expected output, but got nothing",
argv[0]);
More than "nothing", "not a number". I'd also append the whole output
here.
> diff --git a/generator/actions.ml b/generator/actions.ml
> index 1c1fcff..cf96039 100644
> --- a/generator/actions.ml
> +++ b/generator/actions.ml
> @@ -12005,6 +12005,15 @@ This is the same as the C<lstat(2)> system
call." };
> longdesc = "\
> This is the internal call which implements C<guestfs_lstatnslist>."
};
>
> +...
2014 Nov 21
0
[PATCH 5/6] New API: btrfs_subvolume_get_default
...Ni32, &r) != 1) {
+ reply_with_error ("%s: expected output, but got nothing", argv[0]);
+ return -1;
+ }
+
+ return r;
+}
+
+int
do_btrfs_filesystem_sync (const char *fs)
{
const size_t MAX_ARGS = 64;
diff --git a/generator/actions.ml b/generator/actions.ml
index 1c1fcff..cf96039 100644
--- a/generator/actions.ml
+++ b/generator/actions.ml
@@ -12005,6 +12005,15 @@ This is the same as the C<lstat(2)> system call." };
longdesc = "\
This is the internal call which implements C<guestfs_lstatnslist>." };
+ { defaults with
+ name = "btr...
2014 Nov 24
0
Re: [PATCH 5/6] New API: btrfs_subvolume_get_default
...ror ("%s: expected output, but got nothing",
> argv[0]);
>
> More than "nothing", "not a number". I'd also append the whole output
> here.
Sounds good.
>
> > diff --git a/generator/actions.ml b/generator/actions.ml
> > index 1c1fcff..cf96039 100644
> > --- a/generator/actions.ml
> > +++ b/generator/actions.ml
> > @@ -12005,6 +12005,15 @@ This is the same as the C<lstat(2)> system
> call." };
> > longdesc = "\
> > This is the internal call which implements C<guestfs_lstatnslist&...
2014 Nov 21
13
[PATCH 0/6] btrfs support part1: subvolume commands
Hi,
This is the part1 of improving btrfs support. This series adds missing
parameters to btrfs_subvolume_snapshot and btrfs_subvolume_create, and
adds two new API btrfs_subvolume_get_default and btrfs_subvolume_show.
Other parts will follow.
Regards,
Hu
Hu Tao (6):
btrfs: correct words about subvolume and snapshot
btrfs: add optional parameter `ro' to btrfs_subvolume_snapshot
btrfs:
2014 Nov 21
0
[PATCH 6/6] New API: btrfs_subvolume_show
...{
+ return NULL;
+ }
+ if (add_string (&ret, "") == -1) {
+ return NULL;
+ }
+ }
+
+ p = pend;
+ }
+
+ if (end_stringsbuf (&ret) == -1)
+ return NULL;
+
+ return ret.argv;
+
+}
diff --git a/generator/actions.ml b/generator/actions.ml
index cf96039..24d3ecc 100644
--- a/generator/actions.ml
+++ b/generator/actions.ml
@@ -12014,6 +12014,15 @@ This is the internal call which implements C<guestfs_lstatnslist>." };
longdesc = "\
Get the default subvolume or snapshot of a filesystem mounted at C<mountpoint>." };...
2014 Nov 21
3
Re: [PATCH 6/6] New API: btrfs_subvolume_show
...would not add elements with empty values in the hash.
> + }
> +
> + p = pend;
> + }
> +
> + if (end_stringsbuf (&ret) == -1)
> + return NULL;
> +
> + return ret.argv;
> +
> +}
> diff --git a/generator/actions.ml b/generator/actions.ml
> index cf96039..24d3ecc 100644
> --- a/generator/actions.ml
> +++ b/generator/actions.ml
> @@ -12014,6 +12014,15 @@ This is the internal call which implements C<guestfs_lstatnslist>." };
> longdesc = "\
> Get the default subvolume or snapshot of a filesystem mounted at C<mo...
2014 Nov 24
0
Re: [PATCH 6/6] New API: btrfs_subvolume_show
...+ }
> > +
> > + p = pend;
> > + }
> > +
> > + if (end_stringsbuf (&ret) == -1)
> > + return NULL;
> > +
> > + return ret.argv;
> > +
> > +}
> > diff --git a/generator/actions.ml b/generator/actions.ml
> > index cf96039..24d3ecc 100644
> > --- a/generator/actions.ml
> > +++ b/generator/actions.ml
> > @@ -12014,6 +12014,15 @@ This is the internal call which implements C<guestfs_lstatnslist>." };
> > longdesc = "\
> > Get the default subvolume or snapshot of a file...