search for: 850e58d

Displaying 5 results from an estimated 5 matches for "850e58d".

2014 Nov 21
1
Re: [PATCH 2/6] btrfs: add optional parameter `ro' to btrfs_subvolume_snapshot
On Friday 21 November 2014 13:17:56 Hu Tao wrote: > diff --git a/generator/actions.ml b/generator/actions.ml > index fe492e6..850e58d 100644 > --- a/generator/actions.ml > +++ b/generator/actions.ml > @@ -10217,7 +10217,7 @@ See C<guestfs_get_e2generation>." }; > > { defaults with > name = "btrfs_subvolume_snapshot"; > - style = RErr, [Pathname "source"; Pathname &qu...
2014 Nov 21
1
Re: [PATCH 2/6] btrfs: add optional parameter `ro' to btrfs_subvolume_snapshot
...STFS_BTRFS_SUBVOLUME_SNAPSHOT_RO_BITMASK) && ro) ADD_ARG (argv, i, "-r"); Also, seen in the other patches as well, you don't need { ... } brackets for blocks of just one instructions. > diff --git a/generator/actions.ml b/generator/actions.ml > index fe492e6..850e58d 100644 > --- a/generator/actions.ml > +++ b/generator/actions.ml > @@ -10217,7 +10217,7 @@ See C<guestfs_get_e2generation>." }; > > { defaults with > name = "btrfs_subvolume_snapshot"; > - style = RErr, [Pathname "source"; Pathname &qu...
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 21
0
[PATCH 2/6] btrfs: add optional parameter `ro' to btrfs_subvolume_snapshot
...itmask & GUESTFS_BTRFS_SUBVOLUME_SNAPSHOT_RO_BITMASK)) + ro = 0; + + if (ro) { + ADD_ARG (argv, i, "-r"); + } + ADD_ARG (argv, i, source_buf); ADD_ARG (argv, i, dest_buf); ADD_ARG (argv, i, NULL); diff --git a/generator/actions.ml b/generator/actions.ml index fe492e6..850e58d 100644 --- a/generator/actions.ml +++ b/generator/actions.ml @@ -10217,7 +10217,7 @@ See C<guestfs_get_e2generation>." }; { defaults with name = "btrfs_subvolume_snapshot"; - style = RErr, [Pathname "source"; Pathname "dest"], []; + style = R...
2014 Nov 21
0
[PATCH 3/6] btrfs: add optional parameter `qgroupid' to btrfs_subvolume_snapshot
...sk & GUESTFS_BTRFS_SUBVOLUME_SNAPSHOT_QGROUPID_BITMASK) { + ADD_ARG (argv, i, "-i"); + ADD_ARG (argv, i, qgroupid); + } + ADD_ARG (argv, i, source_buf); ADD_ARG (argv, i, dest_buf); ADD_ARG (argv, i, NULL); diff --git a/generator/actions.ml b/generator/actions.ml index 850e58d..30b839c 100644 --- a/generator/actions.ml +++ b/generator/actions.ml @@ -10217,7 +10217,7 @@ See C<guestfs_get_e2generation>." }; { defaults with name = "btrfs_subvolume_snapshot"; - style = RErr, [Pathname "source"; Pathname "dest"], [OBool &q...