Displaying 6 results from an estimated 6 matches for "32b1b05".
Did you mean:
32105
2015 Jan 05
3
Re: [PATCH 5/5] New API: btrfs_filesystem_set_label
...cn.fujitsu.com>
> ---
> daemon/btrfs.c | 33 +++++++++++++++++++++++++++++++++
> generator/actions.ml | 16 ++++++++++++++++
> src/MAX_PROC_NR | 2 +-
> 3 files changed, 50 insertions(+), 1 deletion(-)
>
> diff --git a/daemon/btrfs.c b/daemon/btrfs.c
> index 32b1b05..f9e35be 100644
> --- a/daemon/btrfs.c
> +++ b/daemon/btrfs.c
> @@ -1463,3 +1463,36 @@ do_btrfs_filesystem_defragment (const char *path)
>
> return 0;
> }
> +
> +int
> +do_btrfs_filesystem_set_label (const char *path, const char *label)
> +{
> + const size_t...
2015 Jan 13
1
Re: [PATCH 4/5] New API: add btrfs_filesystem_defragment
...om>
> ---
> daemon/btrfs.c | 32 ++++++++++++++++++++++++++++++++
> generator/actions.ml | 20 ++++++++++++++++++++
> src/MAX_PROC_NR | 2 +-
> 3 files changed, 53 insertions(+), 1 deletion(-)
>
> diff --git a/daemon/btrfs.c b/daemon/btrfs.c
> index 6c74892..32b1b05 100644
> --- a/daemon/btrfs.c
> +++ b/daemon/btrfs.c
> @@ -1431,3 +1431,35 @@ do_btrfs_filesystem_get_label (const char *path)
>
> return out;
> }
> +
> +int
> +do_btrfs_filesystem_defragment (const char *path)
> +{
> + const size_t MAX_ARGS = 64;
> + con...
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:
2014 Dec 26
0
[PATCH 5/5] New API: btrfs_filesystem_set_label
Signed-off-by: Hu Tao <hutao@cn.fujitsu.com>
---
daemon/btrfs.c | 33 +++++++++++++++++++++++++++++++++
generator/actions.ml | 16 ++++++++++++++++
src/MAX_PROC_NR | 2 +-
3 files changed, 50 insertions(+), 1 deletion(-)
diff --git a/daemon/btrfs.c b/daemon/btrfs.c
index 32b1b05..f9e35be 100644
--- a/daemon/btrfs.c
+++ b/daemon/btrfs.c
@@ -1463,3 +1463,36 @@ do_btrfs_filesystem_defragment (const char *path)
return 0;
}
+
+int
+do_btrfs_filesystem_set_label (const char *path, const char *label)
+{
+ const size_t MAX_ARGS = 64;
+ const char *argv[MAX_ARGS];
+ size_t...
2014 Dec 26
0
[PATCH 4/5] New API: add btrfs_filesystem_defragment
...ed-off-by: Hu Tao <hutao@cn.fujitsu.com>
---
daemon/btrfs.c | 32 ++++++++++++++++++++++++++++++++
generator/actions.ml | 20 ++++++++++++++++++++
src/MAX_PROC_NR | 2 +-
3 files changed, 53 insertions(+), 1 deletion(-)
diff --git a/daemon/btrfs.c b/daemon/btrfs.c
index 6c74892..32b1b05 100644
--- a/daemon/btrfs.c
+++ b/daemon/btrfs.c
@@ -1431,3 +1431,35 @@ do_btrfs_filesystem_get_label (const char *path)
return out;
}
+
+int
+do_btrfs_filesystem_defragment (const char *path)
+{
+ const size_t MAX_ARGS = 64;
+ const char *argv[MAX_ARGS];
+ size_t i = 0;
+ CLEANUP_FREE ch...
2015 Jan 16
0
Re: [PATCH 5/5] New API: btrfs_filesystem_set_label
...t; daemon/btrfs.c | 33 +++++++++++++++++++++++++++++++++
> > generator/actions.ml | 16 ++++++++++++++++
> > src/MAX_PROC_NR | 2 +-
> > 3 files changed, 50 insertions(+), 1 deletion(-)
> >
> > diff --git a/daemon/btrfs.c b/daemon/btrfs.c
> > index 32b1b05..f9e35be 100644
> > --- a/daemon/btrfs.c
> > +++ b/daemon/btrfs.c
> > @@ -1463,3 +1463,36 @@ do_btrfs_filesystem_defragment (const char *path)
> >
> > return 0;
> > }
> > +
> > +int
> > +do_btrfs_filesystem_set_label (const char *path, con...