search for: e179b57

Displaying 8 results from an estimated 8 matches for "e179b57".

2014 Nov 21
2
Re: [PATCH 5/6] New API: btrfs_subvolume_get_default
...tsu.com> > --- > daemon/btrfs.c | 38 ++++++++++++++++++++++++++++++++++++++ > generator/actions.ml | 9 +++++++++ > src/MAX_PROC_NR | 2 +- > 3 files changed, 48 insertions(+), 1 deletion(-) > > diff --git a/daemon/btrfs.c b/daemon/btrfs.c > index 0f525fa..e179b57 100644 > --- a/daemon/btrfs.c > +++ b/daemon/btrfs.c > @@ -549,6 +549,44 @@ do_btrfs_subvolume_set_default (int64_t id, const char *fs) > } > > int > +do_btrfs_subvolume_get_default (const char *fs) > +{ > + const size_t MAX_ARGS = 64; > + const char *argv[MAX_A...
2014 Nov 21
0
[PATCH 5/6] New API: btrfs_subvolume_get_default
...Signed-off-by: Hu Tao <hutao@cn.fujitsu.com> --- daemon/btrfs.c | 38 ++++++++++++++++++++++++++++++++++++++ generator/actions.ml | 9 +++++++++ src/MAX_PROC_NR | 2 +- 3 files changed, 48 insertions(+), 1 deletion(-) diff --git a/daemon/btrfs.c b/daemon/btrfs.c index 0f525fa..e179b57 100644 --- a/daemon/btrfs.c +++ b/daemon/btrfs.c @@ -549,6 +549,44 @@ do_btrfs_subvolume_set_default (int64_t id, const char *fs) } int +do_btrfs_subvolume_get_default (const char *fs) +{ + const size_t MAX_ARGS = 64; + const char *argv[MAX_ARGS]; + size_t i = 0; + CLEANUP_FREE char *fs_buf...
2014 Nov 24
0
Re: [PATCH 5/6] New API: btrfs_subvolume_get_default
...mon/btrfs.c | 38 ++++++++++++++++++++++++++++++++++++++ > > generator/actions.ml | 9 +++++++++ > > src/MAX_PROC_NR | 2 +- > > 3 files changed, 48 insertions(+), 1 deletion(-) > > > > diff --git a/daemon/btrfs.c b/daemon/btrfs.c > > index 0f525fa..e179b57 100644 > > --- a/daemon/btrfs.c > > +++ b/daemon/btrfs.c > > @@ -549,6 +549,44 @@ do_btrfs_subvolume_set_default (int64_t id, const > char *fs) > > } > > > > int > > +do_btrfs_subvolume_get_default (const char *fs) > > +{ > > + const si...
2014 Nov 21
3
Re: [PATCH 6/6] New API: btrfs_subvolume_show
...u.com> > --- > daemon/btrfs.c | 167 +++++++++++++++++++++++++++++++++++++++++++++++++++ > generator/actions.ml | 9 +++ > src/MAX_PROC_NR | 2 +- > 3 files changed, 177 insertions(+), 1 deletion(-) > > diff --git a/daemon/btrfs.c b/daemon/btrfs.c > index e179b57..36ba588 100644 > --- a/daemon/btrfs.c > +++ b/daemon/btrfs.c > @@ -29,6 +29,7 @@ > #include "actions.h" > #include "optgroups.h" > #include "xstrtol.h" > +#include "c-ctype.h" > > GUESTFSD_EXT_CMD(str_btrfs, btrfs); > GUE...
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 24
1
Re: [PATCH 6/6] New API: btrfs_subvolume_show
...+++++++++++++++++++++++++++++++++++++++++++ > > > generator/actions.ml | 9 +++ > > > src/MAX_PROC_NR | 2 +- > > > 3 files changed, 177 insertions(+), 1 deletion(-) > > > > > > diff --git a/daemon/btrfs.c b/daemon/btrfs.c > > > index e179b57..36ba588 100644 > > > --- a/daemon/btrfs.c > > > +++ b/daemon/btrfs.c > > > @@ -29,6 +29,7 @@ > > > > > > #include "actions.h" > > > #include "optgroups.h" > > > #include "xstrtol.h" > > > &gt...
2014 Nov 21
0
[PATCH 6/6] New API: btrfs_subvolume_show
...igned-off-by: Hu Tao <hutao@cn.fujitsu.com> --- daemon/btrfs.c | 167 +++++++++++++++++++++++++++++++++++++++++++++++++++ generator/actions.ml | 9 +++ src/MAX_PROC_NR | 2 +- 3 files changed, 177 insertions(+), 1 deletion(-) diff --git a/daemon/btrfs.c b/daemon/btrfs.c index e179b57..36ba588 100644 --- a/daemon/btrfs.c +++ b/daemon/btrfs.c @@ -29,6 +29,7 @@ #include "actions.h" #include "optgroups.h" #include "xstrtol.h" +#include "c-ctype.h" GUESTFSD_EXT_CMD(str_btrfs, btrfs); GUESTFSD_EXT_CMD(str_btrfstune, btrfstune); @@ -813,3...
2014 Nov 24
0
Re: [PATCH 6/6] New API: btrfs_subvolume_show
...n/btrfs.c | 167 +++++++++++++++++++++++++++++++++++++++++++++++++++ > > generator/actions.ml | 9 +++ > > src/MAX_PROC_NR | 2 +- > > 3 files changed, 177 insertions(+), 1 deletion(-) > > > > diff --git a/daemon/btrfs.c b/daemon/btrfs.c > > index e179b57..36ba588 100644 > > --- a/daemon/btrfs.c > > +++ b/daemon/btrfs.c > > @@ -29,6 +29,7 @@ > > #include "actions.h" > > #include "optgroups.h" > > #include "xstrtol.h" > > +#include "c-ctype.h" > > > >...