search for: 2cfb364

Displaying 4 results from an estimated 4 matches for "2cfb364".

2014 Dec 05
1
Re: [PATCH 2/8] New API: btrfs_subvolume_show
...> --- > daemon/btrfs.c | 185 +++++++++++++++++++++++++++++++++++++++++++++++++++ > generator/actions.ml | 9 +++ > src/MAX_PROC_NR | 2 +- > 3 files changed, 195 insertions(+), 1 deletion(-) > > diff --git a/daemon/btrfs.c b/daemon/btrfs.c > index 471cfbd..2cfb364 100644 > --- a/daemon/btrfs.c > +++ b/daemon/btrfs.c > @@ -24,11 +24,13 @@ > #include <pcre.h> > #include <string.h> > #include <unistd.h> > +#include <assert.h> > > #include "daemon.h" > #include "actions.h" > #in...
2014 Dec 02
0
[PATCH 3/8] New API: btrfs_quota_enable
...for subvolumes. Signed-off-by: Hu Tao <hutao@cn.fujitsu.com> --- daemon/btrfs.c | 31 +++++++++++++++++++++++++++++++ generator/actions.ml | 9 +++++++++ src/MAX_PROC_NR | 2 +- 3 files changed, 41 insertions(+), 1 deletion(-) diff --git a/daemon/btrfs.c b/daemon/btrfs.c index 2cfb364..31dd806 100644 --- a/daemon/btrfs.c +++ b/daemon/btrfs.c @@ -995,3 +995,34 @@ char **do_btrfs_subvolume_show (const char *subvolume) return ret.argv; } + +int do_btrfs_quota_enable (const char *path) +{ + const size_t MAX_ARGS = 64; + const char *argv[MAX_ARGS]; + size_t i = 0; + CLEANUP...
2014 Dec 02
0
[PATCH 2/8] New API: btrfs_subvolume_show
...-by: Hu Tao <hutao@cn.fujitsu.com> --- daemon/btrfs.c | 185 +++++++++++++++++++++++++++++++++++++++++++++++++++ generator/actions.ml | 9 +++ src/MAX_PROC_NR | 2 +- 3 files changed, 195 insertions(+), 1 deletion(-) diff --git a/daemon/btrfs.c b/daemon/btrfs.c index 471cfbd..2cfb364 100644 --- a/daemon/btrfs.c +++ b/daemon/btrfs.c @@ -24,11 +24,13 @@ #include <pcre.h> #include <string.h> #include <unistd.h> +#include <assert.h> #include "daemon.h" #include "actions.h" #include "optgroups.h" #include "xstrtol.h...
2014 Dec 02
21
[PATCH 0/8] btrfs support part2: qgroup commands
Hi, This series adds support to btrfs qgroup related commands, inclduing quota commands, and two leftover of subvolume commands. Regards, Hu Hu Tao (8): New API: btrfs_subvolume_get_default New API: btrfs_subvolume_show New API: btrfs_quota_enable New API: btrfs_quota_disable New API: btrfs_quota_rescan New API: btrfs_qgroup_limit New API: btrfs_qgroup_create New API: