Re: [PATCH v2 23/27] btrfs-progs: use libbtrfsutil for subvol sync

2018-02-23 Thread David Sterba
On Fri, Feb 23, 2018 at 02:41:27PM -0800, Omar Sandoval wrote: > > > static int cmd_subvol_sync(int argc, char **argv) > > > { > > > int fd = -1; > > > - int i; > > > int ret = 1; > > > DIR *dirstream = NULL; > > > - u64 *ids = NULL; > > > - int id_count; > > > + uint64_t *ids; > > > >

Re: [PATCH v2 23/27] btrfs-progs: use libbtrfsutil for subvol sync

2018-02-23 Thread Omar Sandoval
On Thu, Feb 22, 2018 at 11:03:05AM +0900, Misono, Tomohiro wrote: > > > On 2018/02/16 4:05, Omar Sandoval wrote: > > From: Omar Sandoval > > > > btrfs_util_f_deleted_subvolumes() replaces enumerate_dead_subvols() and > > btrfs_util_f_subvolume_info() replaces

Re: [PATCH v2 23/27] btrfs-progs: use libbtrfsutil for subvol sync

2018-02-21 Thread Misono, Tomohiro
On 2018/02/16 4:05, Omar Sandoval wrote: > From: Omar Sandoval > > btrfs_util_f_deleted_subvolumes() replaces enumerate_dead_subvols() and > btrfs_util_f_subvolume_info() replaces is_subvolume_cleaned(). And, the function names are older version. > > Signed-off-by: Omar

Re: [PATCH v2 23/27] btrfs-progs: use libbtrfsutil for subvol sync

2018-02-21 Thread Misono, Tomohiro
On 2018/02/16 4:05, Omar Sandoval wrote: > From: Omar Sandoval > > btrfs_util_f_deleted_subvolumes() replaces enumerate_dead_subvols() and > btrfs_util_f_subvolume_info() replaces is_subvolume_cleaned(). > > Signed-off-by: Omar Sandoval > --- >

[PATCH v2 23/27] btrfs-progs: use libbtrfsutil for subvol sync

2018-02-15 Thread Omar Sandoval
From: Omar Sandoval btrfs_util_f_deleted_subvolumes() replaces enumerate_dead_subvols() and btrfs_util_f_subvolume_info() replaces is_subvolume_cleaned(). Signed-off-by: Omar Sandoval --- cmds-subvolume.c | 217