Blame SOURCES/0049-fs-ntfs3-Change-right-headers-to-upcase.c.patch

Kmods SIG d83023
From f97676611937f4550a60970acadeccbd5e6f124c Mon Sep 17 00:00:00 2001
Kmods SIG d83023
From: Kari Argillander <kari.argillander@gmail.com>
Kmods SIG d83023
Date: Thu, 2 Sep 2021 19:15:26 +0300
Kmods SIG d83023
Subject: [Backport f97676611937] src: Change right headers to upcase.c
Kmods SIG d83023
Kmods SIG d83023
There is no headers. They will be included through ntfs_fs.c, but that
Kmods SIG d83023
is not right thing to do. Let's include headers what this file need
Kmods SIG d83023
straight away.
Kmods SIG d83023
Kmods SIG d83023
types.h is needed for __le16, u8 etc.
Kmods SIG d83023
kernel.h is needed for le16_to_cpu()
Kmods SIG d83023
Kmods SIG d83023
Signed-off-by: Kari Argillander <kari.argillander@gmail.com>
Kmods SIG d83023
Signed-off-by: Konstantin Komarov <almaz.alexandrovich@paragon-software.com>
Kmods SIG d83023
---
Kmods SIG d83023
 src/upcase.c | 8 ++------
Kmods SIG d83023
 1 file changed, 2 insertions(+), 6 deletions(-)
Kmods SIG d83023
Kmods SIG d83023
diff --git a/src/upcase.c b/src/upcase.c
Kmods SIG d83023
index bbeba778237eefc318b00e04b05ad0ac1592e1ec..b5e8256fd710d5263b2be07b92df14cb8eea3c35 100644
Kmods SIG d83023
--- a/src/upcase.c
Kmods SIG d83023
+++ b/src/upcase.c
Kmods SIG d83023
@@ -5,13 +5,9 @@
Kmods SIG d83023
  *
Kmods SIG d83023
  */
Kmods SIG d83023
 
Kmods SIG d83023
-#include <linux/blkdev.h>
Kmods SIG d83023
-#include <linux/buffer_head.h>
Kmods SIG d83023
-#include <linux/module.h>
Kmods SIG d83023
-#include <linux/nls.h>
Kmods SIG d83023
+#include <linux/kernel.h>
Kmods SIG d83023
+#include <linux/types.h>
Kmods SIG d83023
 
Kmods SIG d83023
-#include "debug.h"
Kmods SIG d83023
-#include "ntfs.h"
Kmods SIG d83023
 #include "ntfs_fs.h"
Kmods SIG d83023
 
Kmods SIG d83023
 static inline u16 upcase_unicode_char(const u16 *upcase, u16 chr)
Kmods SIG d83023
-- 
Kmods SIG d83023
2.31.1
Kmods SIG d83023