mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2024-12-28 16:52:18 +00:00
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>
This commit is contained in:
parent
0327c6d01a
commit
cde81f13ef
@ -11,6 +11,9 @@
|
||||
#ifndef _LINUX_NTFS3_DEBUG_H
|
||||
#define _LINUX_NTFS3_DEBUG_H
|
||||
|
||||
struct super_block;
|
||||
struct inode;
|
||||
|
||||
#ifndef Add2Ptr
|
||||
#define Add2Ptr(P, I) ((void *)((u8 *)(P) + (I)))
|
||||
#define PtrOffset(B, O) ((size_t)((size_t)(O) - (size_t)(B)))
|
||||
|
Loading…
Reference in New Issue
Block a user