aboutsummaryrefslogtreecommitdiff
path: root/fs/btrfs/file-item.c
diff options
context:
space:
mode:
authorGravatar Josef Bacik <josef@toxicpanda.com> 2022-10-19 10:50:49 -0400
committerGravatar David Sterba <dsterba@suse.com> 2022-12-05 18:00:41 +0100
commit9b569ea0be6fb27a4985acc9325896a3edc95ede (patch)
tree204d4313922708be57355640cf91218e33f99027 /fs/btrfs/file-item.c
parentbtrfs: move assert helpers out of ctree.h (diff)
downloadlinux-9b569ea0be6fb27a4985acc9325896a3edc95ede.tar.gz
linux-9b569ea0be6fb27a4985acc9325896a3edc95ede.tar.bz2
linux-9b569ea0be6fb27a4985acc9325896a3edc95ede.zip
btrfs: move the printk helpers out of ctree.h
We have a bunch of printk helpers that are in ctree.h. These have nothing to do with ctree.c, so move them into their own header. Subsequent patches will cleanup the printk helpers. Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com> Signed-off-by: Josef Bacik <josef@toxicpanda.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/file-item.c')
-rw-r--r--fs/btrfs/file-item.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/btrfs/file-item.c b/fs/btrfs/file-item.c
index 824ff54d8155..675987e2d652 100644
--- a/fs/btrfs/file-item.c
+++ b/fs/btrfs/file-item.c
@@ -9,6 +9,7 @@
#include <linux/highmem.h>
#include <linux/sched/mm.h>
#include <crypto/hash.h>
+#include "messages.h"
#include "misc.h"
#include "ctree.h"
#include "disk-io.h"