search for: 80c7ea7

Displaying 5 results from an estimated 5 matches for "80c7ea7".

2014 Dec 05
2
Re: [PATCH 1/8] New API: btrfs_subvolume_get_default
..._with_error ("%s: could not parse subvolume id: %s.", argv[0], out); > + return -1; > + } > + > + return ret; > +} > + > int > do_btrfs_filesystem_sync (const char *fs) > { > diff --git a/generator/actions.ml b/generator/actions.ml > index 385b620..80c7ea7 100644 > --- a/generator/actions.ml > +++ b/generator/actions.ml > @@ -12027,6 +12027,15 @@ Set readahead (in 512-byte sectors) for the device. > > This uses the L<blockdev(8)> command." }; > > + { defaults with > + name = "btrfs_subvolume_get_defaul...
2014 Dec 02
0
[PATCH 1/8] New API: btrfs_subvolume_get_default
..., &ret, NULL); + if (r != LONGINT_OK) { + reply_with_error ("%s: could not parse subvolume id: %s.", argv[0], out); + return -1; + } + + return ret; +} + int do_btrfs_filesystem_sync (const char *fs) { diff --git a/generator/actions.ml b/generator/actions.ml index 385b620..80c7ea7 100644 --- a/generator/actions.ml +++ b/generator/actions.ml @@ -12027,6 +12027,15 @@ Set readahead (in 512-byte sectors) for the device. This uses the L<blockdev(8)> command." }; + { defaults with + name = "btrfs_subvolume_get_default"; + style = RInt64 "id&qu...
2014 Dec 02
0
[PATCH 2/8] New API: btrfs_subvolume_show
...if (add_string (&ret, "") == -1) + return NULL; + } + + p = analyze_line(p, &key, &value); + } + } + + if (end_stringsbuf (&ret) == -1) + return NULL; + + return ret.argv; + +} diff --git a/generator/actions.ml b/generator/actions.ml index 80c7ea7..d5ec528 100644 --- a/generator/actions.ml +++ b/generator/actions.ml @@ -12036,6 +12036,15 @@ This uses the L<blockdev(8)> command." }; longdesc = "\ Get the default subvolume or snapshot of a filesystem mounted at C<mountpoint>." }; + { defaults with + name...
2014 Dec 05
1
Re: [PATCH 2/8] New API: btrfs_subvolume_show
...NULL; > + } > + > + p = analyze_line(p, &key, &value); > + } > + } > + > + if (end_stringsbuf (&ret) == -1) > + return NULL; > + > + return ret.argv; > + > +} > diff --git a/generator/actions.ml b/generator/actions.ml > index 80c7ea7..d5ec528 100644 > --- a/generator/actions.ml > +++ b/generator/actions.ml > @@ -12036,6 +12036,15 @@ This uses the L<blockdev(8)> command." }; > longdesc = "\ > Get the default subvolume or snapshot of a filesystem mounted at C<mountpoint>." }; >...
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: