Blame SOURCES/0044-fs-ntfs3.-Add-forward-declarations-for-structs-to-de.patch
|
Kmods SIG |
8b815c |
From cde81f13ef63d47c3f0742fbe6f17a5123cf6ca4 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:21 +0300
|
|
Kmods SIG |
8b815c |
Subject: [Backport cde81f13ef63] src. Add forward declarations for
|
|
Kmods SIG |
8b815c |
structs to debug.h
|
|
Kmods SIG |
8b815c |
|
|
Kmods SIG |
8b815c |
Add forward declarations for structs so that we can include this file
|
|
Kmods SIG |
8b815c |
without warnings even without linux/fs.h
|
|
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/debug.h | 3 +++
|
|
Kmods SIG |
8b815c |
1 file changed, 3 insertions(+)
|
|
Kmods SIG |
8b815c |
|
|
Kmods SIG |
8b815c |
diff --git a/src/debug.h b/src/debug.h
|
|
Kmods SIG |
8b815c |
index 31120569a87b9b07cf91f8e0b8c7291db059f4f3..53ef7489c75fd70f239d4e50af9a5e2f097c6bde 100644
|
|
Kmods SIG |
8b815c |
--- a/src/debug.h
|
|
Kmods SIG |
8b815c |
+++ b/src/debug.h
|
|
Kmods SIG |
8b815c |
@@ -11,6 +11,9 @@
|
|
Kmods SIG |
8b815c |
#ifndef _LINUX_NTFS3_DEBUG_H
|
|
Kmods SIG |
8b815c |
#define _LINUX_NTFS3_DEBUG_H
|
|
Kmods SIG |
8b815c |
|
|
Kmods SIG |
8b815c |
+struct super_block;
|
|
Kmods SIG |
8b815c |
+struct inode;
|
|
Kmods SIG |
8b815c |
+
|
|
Kmods SIG |
8b815c |
#ifndef Add2Ptr
|
|
Kmods SIG |
8b815c |
#define Add2Ptr(P, I) ((void *)((u8 *)(P) + (I)))
|
|
Kmods SIG |
8b815c |
#define PtrOffset(B, O) ((size_t)((size_t)(O) - (size_t)(B)))
|
|
Kmods SIG |
8b815c |
--
|
|
Kmods SIG |
8b815c |
2.31.1
|
|
Kmods SIG |
8b815c |
|