summaryrefslogtreecommitdiff
path: root/fs/btrfs
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2020-05-10 11:39:58 -0600
committerTom Rini <trini@konsulko.com>2020-05-18 17:33:33 -0400
commite6f6f9e64882ddf242437c73fdd9ff06a8eb7c21 (patch)
tree201c26b1dd27d7e77a667e16497a1d87da09099b /fs/btrfs
parent0528979fa7ab7853faaf2ecf34b7721dd4c0b383 (diff)
common: Drop part.h from common header
Move this uncommon header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'fs/btrfs')
-rw-r--r--fs/btrfs/dev.c1
-rw-r--r--fs/btrfs/super.c4
2 files changed, 4 insertions, 1 deletions
diff --git a/fs/btrfs/dev.c b/fs/btrfs/dev.c
index e686abc5e3..1e5b83235a 100644
--- a/fs/btrfs/dev.c
+++ b/fs/btrfs/dev.c
@@ -6,6 +6,7 @@
*/
#include <common.h>
+#include <blk.h>
#include <compiler.h>
#include <fs_internal.h>
diff --git a/fs/btrfs/super.c b/fs/btrfs/super.c
index b693a073fc..f80c148627 100644
--- a/fs/btrfs/super.c
+++ b/fs/btrfs/super.c
@@ -5,9 +5,11 @@
* 2017 Marek Behun, CZ.NIC, marek.behun@nic.cz
*/
-#include "btrfs.h"
+#include <common.h>
#include <memalign.h>
+#include <part.h>
#include <linux/compat.h>
+#include "btrfs.h"
#define BTRFS_SUPER_FLAG_SUPP (BTRFS_HEADER_FLAG_WRITTEN \
| BTRFS_HEADER_FLAG_RELOC \