From: Josef Bacik <josef@toxicpanda.com>
To: linux-btrfs@vger.kernel.org, kernel-team@fb.com
Subject: [PATCH v2 11/12] btrfs: include linux/security.h in super.c
Date: Fri, 25 Aug 2023 16:19:29 -0400 [thread overview]
Message-ID: <35931e108a9ca6c610a62ed89b4befda4a0c96ee.1692994620.git.josef@toxicpanda.com> (raw)
In-Reply-To: <cover.1692994620.git.josef@toxicpanda.com>
We use some of the security related code in here, include it in super.c
so we can remove the include from ctree.h.
Signed-off-by: Josef Bacik <josef@toxicpanda.com>
---
fs/btrfs/super.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/fs/btrfs/super.c b/fs/btrfs/super.c
index cffdd6f7f8e8..0c215ca05c8a 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"
--
2.41.0
next prev parent reply other threads:[~2023-08-25 20:20 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-08-25 20:19 [PATCH v2 00/12] btrfs: ctree.[ch] cleanups Josef Bacik
2023-08-25 20:19 ` [PATCH v2 01/12] btrfs: move btrfs_crc32c_final into free-space-cache.c Josef Bacik
2023-08-25 20:19 ` [PATCH v2 02/12] btrfs: remove btrfs_crc32c wrapper Josef Bacik
2023-08-25 20:19 ` [PATCH v2 03/12] btrfs: move btrfs_extref_hash into inode-item.h Josef Bacik
2023-08-25 20:19 ` [PATCH v2 04/12] btrfs: move btrfs_name_hash to dir-item.h Josef Bacik
2023-08-25 20:19 ` [PATCH v2 05/12] btrfs: include asm/unaligned.h in accessors.h Josef Bacik
2023-08-25 20:19 ` [PATCH v2 06/12] btrfs: include linux/crc32c in dir-item and inode-item Josef Bacik
2023-08-25 20:19 ` [PATCH v2 07/12] btrfs: include linux/iomap.h in file.c Josef Bacik
2023-08-25 20:19 ` [PATCH v2 08/12] btrfs: add fscrypt related dependencies to respective headers Josef Bacik
2023-08-25 20:19 ` [PATCH v2 09/12] btrfs: add btrfs_delayed_ref_head declaration to extent-tree.h Josef Bacik
2023-08-25 20:19 ` [PATCH v2 10/12] btrfs: include trace header in where necessary Josef Bacik
2023-08-25 20:19 ` Josef Bacik [this message]
2023-08-25 20:19 ` [PATCH v2 12/12] btrfs: remove extraneous includes from ctree.h Josef Bacik
2023-09-05 13:44 ` David Sterba
2023-08-28 16:25 ` [PATCH v2 00/12] btrfs: ctree.[ch] cleanups Johannes Thumshirn
2023-09-05 13:45 ` David Sterba
2023-09-05 14:38 ` David Sterba
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=35931e108a9ca6c610a62ed89b4befda4a0c96ee.1692994620.git.josef@toxicpanda.com \
--to=josef@toxicpanda.com \
--cc=kernel-team@fb.com \
--cc=linux-btrfs@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).