Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

fs/ntfs3. Add forward declarations for structs to debug.h

Add forward declarations for structs so that we can include this file
without warnings even without linux/fs.h

Signed-off-by: Kari Argillander <kari.argillander@gmail.com>
Signed-off-by: Konstantin Komarov <almaz.alexandrovich@paragon-software.com>

authored by

Kari Argillander and committed by
Konstantin Komarov
cde81f13 0327c6d0

+3
+3
fs/ntfs3/debug.h
··· 11 11 #ifndef _LINUX_NTFS3_DEBUG_H 12 12 #define _LINUX_NTFS3_DEBUG_H 13 13 14 + struct super_block; 15 + struct inode; 16 + 14 17 #ifndef Add2Ptr 15 18 #define Add2Ptr(P, I) ((void *)((u8 *)(P) + (I))) 16 19 #define PtrOffset(B, O) ((size_t)((size_t)(O) - (size_t)(B)))