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

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