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:
parent
a3efed2adb
commit
8bb13015bd
|
@ -30,7 +30,6 @@
|
||||||
#include "common/send-utils.h"
|
#include "common/send-utils.h"
|
||||||
#include "kernel-shared/disk-io.h"
|
#include "kernel-shared/disk-io.h"
|
||||||
#include "cmds/commands.h"
|
#include "cmds/commands.h"
|
||||||
#include "btrfs-list.h"
|
|
||||||
#include "common/help.h"
|
#include "common/help.h"
|
||||||
#include "common/open-utils.h"
|
#include "common/open-utils.h"
|
||||||
#include "common/units.h"
|
#include "common/units.h"
|
||||||
|
|
|
@ -43,8 +43,6 @@
|
||||||
#include "cmds/commands.h"
|
#include "cmds/commands.h"
|
||||||
#include "common/utils.h"
|
#include "common/utils.h"
|
||||||
#include "kernel-lib/list.h"
|
#include "kernel-lib/list.h"
|
||||||
#include "btrfs-list.h"
|
|
||||||
|
|
||||||
#include "kernel-shared/send.h"
|
#include "kernel-shared/send.h"
|
||||||
#include "common/send-stream.h"
|
#include "common/send-stream.h"
|
||||||
#include "common/send-utils.h"
|
#include "common/send-utils.h"
|
||||||
|
|
|
@ -28,7 +28,6 @@
|
||||||
#include "common/messages.h"
|
#include "common/messages.h"
|
||||||
#include "common/utils.h"
|
#include "common/utils.h"
|
||||||
#include "ioctl.h"
|
#include "ioctl.h"
|
||||||
#include "btrfs-list.h"
|
|
||||||
|
|
||||||
static int btrfs_subvolid_resolve_sub(int fd, char *path, size_t *path_len,
|
static int btrfs_subvolid_resolve_sub(int fd, char *path, size_t *path_len,
|
||||||
u64 subvol_id);
|
u64 subvol_id);
|
||||||
|
|
|
@ -25,7 +25,6 @@
|
||||||
#include <stdarg.h>
|
#include <stdarg.h>
|
||||||
#include "common/defs.h"
|
#include "common/defs.h"
|
||||||
#include "common/internal.h"
|
#include "common/internal.h"
|
||||||
#include "btrfs-list.h"
|
|
||||||
#include "kernel-lib/sizes.h"
|
#include "kernel-lib/sizes.h"
|
||||||
#include "common/messages.h"
|
#include "common/messages.h"
|
||||||
#include "ioctl.h"
|
#include "ioctl.h"
|
||||||
|
|
|
@ -18,7 +18,6 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "kernel-shared/ctree.h"
|
#include "kernel-shared/ctree.h"
|
||||||
#include "btrfs-list.h"
|
|
||||||
#include "kernel-shared/delayed-ref.h"
|
#include "kernel-shared/delayed-ref.h"
|
||||||
#include "kernel-shared/transaction.h"
|
#include "kernel-shared/transaction.h"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue