Skip to content
Permalink
Browse files

btrfs-progs: use libbtrfsutil for subvolume list

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 break, but it avoids adding a
libbtrfsutil dependency to libbtrfs. A search online didn't turn up any
projects which use this interface.

Signed-off-by: Omar Sandoval <osandov@fb.com>
  • Loading branch information
osandov committed Mar 29, 2018
1 parent 52e2ed8 commit fb61c21aeb998b12c1d02532639083d7f40c41e0
Showing with 962 additions and 887 deletions.
  1. +8 −798 btrfs-list.c
  2. +0 −89 btrfs-list.h
  3. +954 −0 cmds-subvolume.c

0 comments on commit fb61c21

Please sign in to comment.
You can’t perform that action at this time.