aboutsummaryrefslogtreecommitdiff
path: root/fs/btrfs
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2024-04-27 08:11:05 -0600
committerTom Rini <trini@konsulko.com>2024-05-06 15:05:04 -0600
commit8d28959d700aa537650b5e62c63d49d3b807e809 (patch)
treee764b0526dff007aedbe4d99c96b8a2b40614544 /fs/btrfs
parent26d4114da22272937c899d67b51498559ba312d2 (diff)
downloadu-boot-8d28959d700aa537650b5e62c63d49d3b807e809.zip
u-boot-8d28959d700aa537650b5e62c63d49d3b807e809.tar.gz
u-boot-8d28959d700aa537650b5e62c63d49d3b807e809.tar.bz2
fs: Remove <common.h> and add needed includes
Remove <common.h> from all "fs/" files and when needed add missing include files directly. Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'fs/btrfs')
-rw-r--r--fs/btrfs/dev.c1
-rw-r--r--fs/btrfs/disk-io.c1
-rw-r--r--fs/btrfs/volumes.c2
3 files changed, 1 insertions, 3 deletions
diff --git a/fs/btrfs/dev.c b/fs/btrfs/dev.c
index cb3b971..e27a032 100644
--- a/fs/btrfs/dev.c
+++ b/fs/btrfs/dev.c
@@ -5,7 +5,6 @@
* 2017 Marek BehĂșn, CZ.NIC, kabel@kernel.org
*/
-#include <common.h>
#include <blk.h>
#include <compiler.h>
#include <fs_internal.h>
diff --git a/fs/btrfs/disk-io.c b/fs/btrfs/disk-io.c
index 7eaa7e9..e5bfaf4 100644
--- a/fs/btrfs/disk-io.c
+++ b/fs/btrfs/disk-io.c
@@ -1,5 +1,4 @@
// SPDX-License-Identifier: GPL-2.0+
-#include <common.h>
#include <fs_internal.h>
#include <log.h>
#include <uuid.h>
diff --git a/fs/btrfs/volumes.c b/fs/btrfs/volumes.c
index 7d4095d..8ec545e 100644
--- a/fs/btrfs/volumes.c
+++ b/fs/btrfs/volumes.c
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: GPL-2.0+
#include <stdlib.h>
-#include <common.h>
+#include <errno.h>
#include <fs_internal.h>
#include "ctree.h"
#include "disk-io.h"