summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJosef Bacik <josef@toxicpanda.com>2023-08-25 22:19:29 +0200
committerDavid Sterba <dsterba@suse.com>2023-10-12 16:44:03 +0200
commitc60a28806c00e02181868528bc49d175e335d8e0 (patch)
tree769c0d2babee96ec8753909f1072524029ee9098
parentbtrfs: include trace header in where necessary (diff)
downloadlinux-c60a28806c00e02181868528bc49d175e335d8e0.tar.xz
linux-c60a28806c00e02181868528bc49d175e335d8e0.zip
btrfs: include linux/security.h in super.c
We use some of the security related code in here, include it in super.c so we can remove the include from ctree.h. 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>
-rw-r--r--fs/btrfs/super.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/btrfs/super.c b/fs/btrfs/super.c
index 1a093ec0f7e3..c7482871e43e 100644
--- a/fs/btrfs/super.c
+++ b/fs/btrfs/super.c
@@ -26,6 +26,7 @@
#include <linux/ratelimit.h>
#include <linux/crc32c.h>
#include <linux/btrfs.h>
+#include <linux/security.h>
#include "messages.h"
#include "delayed-inode.h"
#include "ctree.h"