Blame SOURCES/0050-fs-ntfs3-Change-right-headers-to-lznt.c.patch
|
Kmods SIG |
d83023 |
From 977d0558e310113767feed91fdcc618691dd2835 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:27 +0300
|
|
Kmods SIG |
d83023 |
Subject: [Backport 977d0558e310] src: Change right headers to lznt.c
|
|
Kmods SIG |
d83023 |
|
|
Kmods SIG |
d83023 |
There is lot of headers which we do not need in this file. Delete them
|
|
Kmods SIG |
d83023 |
and add what we really need. Here is list which identify why we need
|
|
Kmods SIG |
d83023 |
this header.
|
|
Kmods SIG |
d83023 |
|
|
Kmods SIG |
d83023 |
<linux/kernel.h> // min()
|
|
Kmods SIG |
d83023 |
<linux/slab.h> // kzalloc()
|
|
Kmods SIG |
d83023 |
<linux/stddef.h> // offsetof()
|
|
Kmods SIG |
d83023 |
<linux/string.h> // memcpy(), memset()
|
|
Kmods SIG |
d83023 |
<linux/types.h> // u8, size_t, etc.
|
|
Kmods SIG |
d83023 |
|
|
Kmods SIG |
d83023 |
"debug.h" // PtrOffset()
|
|
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/lznt.c | 10 +++++-----
|
|
Kmods SIG |
d83023 |
1 file changed, 5 insertions(+), 5 deletions(-)
|
|
Kmods SIG |
d83023 |
|
|
Kmods SIG |
d83023 |
diff --git a/src/lznt.c b/src/lznt.c
|
|
Kmods SIG |
d83023 |
index f1f691a67cc490254957f062cfc38ec12ac7e834..12ba42518efea5a6f3198499b75b3023d0032be5 100644
|
|
Kmods SIG |
d83023 |
--- a/src/lznt.c
|
|
Kmods SIG |
d83023 |
+++ b/src/lznt.c
|
|
Kmods SIG |
d83023 |
@@ -5,13 +5,13 @@
|
|
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/fs.h>
|
|
Kmods SIG |
d83023 |
-#include <linux/nls.h>
|
|
Kmods SIG |
d83023 |
+#include <linux/kernel.h>
|
|
Kmods SIG |
d83023 |
+#include <linux/slab.h>
|
|
Kmods SIG |
d83023 |
+#include <linux/stddef.h>
|
|
Kmods SIG |
d83023 |
+#include <linux/string.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 |
// clang-format off
|
|
Kmods SIG |
d83023 |
--
|
|
Kmods SIG |
d83023 |
2.31.1
|
|
Kmods SIG |
d83023 |
|