summaryrefslogtreecommitdiff
path: root/fs/crypto/hooks.c
diff options
context:
space:
mode:
authorEric Biggers <ebiggers@kernel.org>2025-06-14 15:13:01 -0700
committerEric Biggers <ebiggers@kernel.org>2025-06-20 14:30:23 -0700
commitc6a14b32c9ba041fbe043aa30ebd5c6b467d6518 (patch)
tree5903b96adbb4edfec35a2de2d6fa27c0deb11302 /fs/crypto/hooks.c
parente04c78d86a9699d136910cfc0bdcf01087e3267e (diff)
fscrypt: Explicitly include <linux/export.h>
Fix build warnings with W=1 that started appearing after commit a934a57a42f6 ("scripts/misc-check: check missing #include <linux/export.h> when W=1"). While at it, also sort the include lists alphabetically. Link: https://lore.kernel.org/r/20250614221301.100803-1-ebiggers@kernel.org Signed-off-by: Eric Biggers <ebiggers@kernel.org>
Diffstat (limited to 'fs/crypto/hooks.c')
-rw-r--r--fs/crypto/hooks.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/crypto/hooks.c b/fs/crypto/hooks.c
index d8d5049b8fe1..e0b32ac841f7 100644
--- a/fs/crypto/hooks.c
+++ b/fs/crypto/hooks.c
@@ -5,6 +5,8 @@
* Encryption hooks for higher-level filesystem operations.
*/
+#include <linux/export.h>
+
#include "fscrypt_private.h"
/**