mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-28 06:34:12 +08:00
fs/ntfs3: Add missing header files to ntfs.h
We do not have header files at all in this file. Add following headers and there is also explanation which for it was added. Note that explanation might not be complete, but it just proofs it is needed. <linux/blkdev.h> // SECTOR_SHIFT <linux/build_bug.h> // static_assert() <linux/kernel.h> // cpu_to_le64, cpu_to_le32, ALIGN <linux/stddef.h> // offsetof() <linux/string.h> // memcmp() <linux/types.h> //__le32, __le16 "debug.h" // PtrOffset(), Add2Ptr() 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
cde81f13ef
commit
4dfe83320e
@ -10,6 +10,15 @@
|
||||
#ifndef _LINUX_NTFS3_NTFS_H
|
||||
#define _LINUX_NTFS3_NTFS_H
|
||||
|
||||
#include <linux/blkdev.h>
|
||||
#include <linux/build_bug.h>
|
||||
#include <linux/kernel.h>
|
||||
#include <linux/stddef.h>
|
||||
#include <linux/string.h>
|
||||
#include <linux/types.h>
|
||||
|
||||
#include "debug.h"
|
||||
|
||||
/* TODO: Check 4K MFT record and 512 bytes cluster. */
|
||||
|
||||
/* Activate this define to use binary search in indexes. */
|
||||
|
Loading…
Reference in New Issue
Block a user