Re: [PATCH v2 26/27] btrfs-progs: use libbtrfsutil for subvolume list

2018-02-23 Thread Omar Sandoval
On Fri, Feb 23, 2018 at 11:26:35AM +0900, Misono, Tomohiro wrote: > > > On 2018/02/16 4:05, Omar Sandoval wrote: > > From: Omar Sandoval > > > +static struct subvol_list *btrfs_list_deleted_subvols(int fd, > > + struct > >

Re: [PATCH v2 26/27] btrfs-progs: use libbtrfsutil for subvolume list

2018-02-22 Thread Misono, Tomohiro
On 2018/02/16 4:05, Omar Sandoval wrote: > From: Omar Sandoval > +static struct subvol_list *btrfs_list_deleted_subvols(int fd, > + struct > btrfs_list_filter_set *filter_set) > +{ > + struct subvol_list *subvols = NULL; >

[PATCH v2 26/27] btrfs-progs: use libbtrfsutil for subvolume list

2018-02-15 Thread Omar Sandoval
From: Omar Sandoval This is the most involved conversion because it replaces the libbtrfs implementation entirely. I took care to preserve the existing behavior in all cases, warts and all. This also moves the list printing code from libbtrfs to cmds-subvolume.c. This is an ABI