Displaying 4 results from an estimated 4 matches for "7e1f3ed".
2015 Jan 05
3
Re: [PATCH 5/5] New API: btrfs_filesystem_set_label
...mp;out, &err, argv);
> + if (r == -1) {
> + reply_with_error ("%s: %s", path, err);
> + return -1;
> + }
> +
> + return 0;
> +}
Isn't this alredy covered by set_label?
> diff --git a/generator/actions.ml b/generator/actions.ml
> index 4b24f8a..7e1f3ed 100644
> --- a/generator/actions.ml
> +++ b/generator/actions.ml
> @@ -12316,6 +12316,22 @@ Get a btrfs filesystem's label." };
> longdesc = "\
> Defragment a file or directory." };
>
> + { defaults with
> + name = "btrfs_filesystem_set_la...
2014 Dec 26
0
[PATCH 5/5] New API: btrfs_filesystem_set_label
..., path_buf);
+ ADD_ARG (argv, i, label);
+ ADD_ARG (argv, i, NULL);
+
+ r = commandv (&out, &err, argv);
+ if (r == -1) {
+ reply_with_error ("%s: %s", path, err);
+ return -1;
+ }
+
+ return 0;
+}
diff --git a/generator/actions.ml b/generator/actions.ml
index 4b24f8a..7e1f3ed 100644
--- a/generator/actions.ml
+++ b/generator/actions.ml
@@ -12316,6 +12316,22 @@ Get a btrfs filesystem's label." };
longdesc = "\
Defragment a file or directory." };
+ { defaults with
+ name = "btrfs_filesystem_set_label";
+ style = RErr, [Pathname...
2015 Jan 16
0
Re: [PATCH 5/5] New API: btrfs_filesystem_set_label
...t; + reply_with_error ("%s: %s", path, err);
> > + return -1;
> > + }
> > +
> > + return 0;
> > +}
>
> Isn't this alredy covered by set_label?
>
> > diff --git a/generator/actions.ml b/generator/actions.ml
> > index 4b24f8a..7e1f3ed 100644
> > --- a/generator/actions.ml
> > +++ b/generator/actions.ml
> > @@ -12316,6 +12316,22 @@ Get a btrfs filesystem's label." };
> > longdesc = "\
> > Defragment a file or directory." };
> >
> > + { defaults with
> > +...
2014 Dec 26
10
[PATCH 0/5] btrfs: add API for btrfs filesystem, check and scrub
Hi,
There is one problem: btrfs_filesystem_set_label just doesnt work,
giving error message:
libguestfs: error: btrfs_filesystem_set_label: /: ERROR: unable to set label Bad address
I'm almost sure the patch has no problem, but can't figure out what's
the cause. So patch 5 is only for review.
Other APIs have no problem.
Regards,
Hu
Hu Tao (5):
New API: btrfs_scrub
New API: