diff options
author | David Sterba <dsterba@suse.com> | 2022-06-02 15:28:41 +0200 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2022-07-25 17:45:37 +0200 |
commit | 8234d3f658b65584f1298960fc96a62f9e2a9f38 (patch) | |
tree | 65a8cb744d8e54e3b80d0d90dfe5382fedb7546d /fs/btrfs/send.h | |
parent | e3b4b9040b0f59a27cdd3db31417aeced473f345 (diff) | |
download | linux-8234d3f658b65584f1298960fc96a62f9e2a9f38.tar.bz2 |
btrfs: send: simplify includes
We don't need the whole ctree.h in send.h, none of the data types
defined there are used.
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/send.h')
-rw-r--r-- | fs/btrfs/send.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/fs/btrfs/send.h b/fs/btrfs/send.h index 45562190b473..7f615ddc8d9c 100644 --- a/fs/btrfs/send.h +++ b/fs/btrfs/send.h @@ -7,7 +7,7 @@ #ifndef BTRFS_SEND_H #define BTRFS_SEND_H -#include "ctree.h" +#include <linux/types.h> #define BTRFS_SEND_STREAM_MAGIC "btrfs-stream" #define BTRFS_SEND_STREAM_VERSION 2 @@ -18,6 +18,9 @@ */ #define BTRFS_SEND_BUF_SIZE_V1 SZ_64K +struct inode; +struct btrfs_ioctl_send_args; + enum btrfs_tlv_type { BTRFS_TLV_U8, BTRFS_TLV_U16, |