btrfs-progs: don't include btrfs-list.h unless necessary

We don't need to include this besides btrfs-list.c itself and
subvolume.c that does use the btrfs_list_* API.

Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
David Sterba 2021-09-29 16:50:26 +02:00
parent a3efed2adb
commit 8bb13015bd
5 changed files with 0 additions and 6 deletions

View file

@ -30,7 +30,6 @@
#include "common/send-utils.h"
#include "kernel-shared/disk-io.h"
#include "cmds/commands.h"
#include "btrfs-list.h"
#include "common/help.h"
#include "common/open-utils.h"
#include "common/units.h"

View file

@ -43,8 +43,6 @@
#include "cmds/commands.h"
#include "common/utils.h"
#include "kernel-lib/list.h"
#include "btrfs-list.h"
#include "kernel-shared/send.h"
#include "common/send-stream.h"
#include "common/send-utils.h"

View file

@ -28,7 +28,6 @@
#include "common/messages.h"
#include "common/utils.h"
#include "ioctl.h"
#include "btrfs-list.h"
static int btrfs_subvolid_resolve_sub(int fd, char *path, size_t *path_len,
u64 subvol_id);

View file

@ -25,7 +25,6 @@
#include <stdarg.h>
#include "common/defs.h"
#include "common/internal.h"
#include "btrfs-list.h"
#include "kernel-lib/sizes.h"
#include "common/messages.h"
#include "ioctl.h"

View file

@ -18,7 +18,6 @@
*/
#include "kernel-shared/ctree.h"
#include "btrfs-list.h"
#include "kernel-shared/delayed-ref.h"
#include "kernel-shared/transaction.h"