linux/fs/ntfs3
Kari Argillander f239b3a95d
fs/ntfs3: Add missing headers and forward declarations to ntfs_fs.h
We do not have headers at all in this file. We should have them so that
not every .c file needs to include all of the stuff which this file need
for building. This way we can remove some headers from other files and
get better picture what is needed. This can save some compilation time.
And this can help if we sometimes want to separate this one big header.

Also use forward declarations for structs and enums when it not included
straight with include and it is used in function declarations input.
This will prevent possible compiler warning:
  xxx declared inside parameter list will not be visible
  outside of this definition or declaration

Here is list which I made when parsing this. There is not necessarily
all example from this header file, but this just proofs we need it.

<linux/blkdev.h> SECTOR_SHIFT
<linux/buffer_head.h> sb_bread(), put_bh
<linux/cleancache.h> put_page()
<linux/fs.h> struct inode (Just struct ntfs_inode need it)
<linux/highmem.h> kunmap(), kmap()
<linux/kernel.h> cpu_to_leXX() ALIGN
<linux/mm.h> kvfree()
<linux/mutex.h> struct mutex, mutex_(un/try)lock()
<linux/page-flags.h> PageError()
<linux/pagemap.h> read_mapping_page()
<linux/rbtree.h> struct rb_root
<linux/rwsem.h> struct rw_semaphore
<linux/slab.h> krfree(), kzalloc()
<linux/string.h> memset()
<linux/time64.h> struct timespec64
<linux/types.h> uXX, __leXX
<linux/uidgid.h> kuid_t, kgid_t
<asm/div64.h> do_div()
<asm/page.h> PAGE_SIZE

"debug.h" ntfs_err() (Just one entry. Maybe we can drop this)
"ntfs.h" Do you even ask?

Signed-off-by: Kari Argillander <kari.argillander@gmail.com>
Signed-off-by: Konstantin Komarov <almaz.alexandrovich@paragon-software.com>
2021-09-13 19:41:44 +03:00
..
lib fs/ntfs3: Remove GPL boilerplates from decompress lib files 2021-09-02 18:51:26 +03:00
attrib.c fs/ntfs3: Convert mount options to pointer in sbi 2021-09-09 19:28:52 +03:00
attrlist.c fs/ntfs3: Rework file operations 2021-08-31 19:07:11 +03:00
bitfunc.c fs/ntfs3: Restyle comments to better align with kernel-doc 2021-08-30 18:39:14 +03:00
bitmap.c fs/ntfs3: Restyle comments to better align with kernel-doc 2021-08-31 19:07:12 +03:00
debug.h fs/ntfs3. Add forward declarations for structs to debug.h 2021-09-13 19:41:43 +03:00
dir.c fs/ntfs3: Convert mount options to pointer in sbi 2021-09-09 19:28:52 +03:00
file.c fs/ntfs3: Rename mount option no_acs_rules > (no)acsrules 2021-09-09 19:28:54 +03:00
frecord.c fs/ntfs3: Restyle comments to better align with kernel-doc 2021-08-31 19:07:12 +03:00
fslog.c fs/ntfs3: Restyle comments to better align with kernel-doc 2021-08-31 19:07:12 +03:00
fsntfs.c fs/ntfs3: Restyle comments to better align with kernel-doc 2021-08-31 19:07:12 +03:00
index.c fs/ntfs3: Remove redundant initialization of variable err 2021-09-13 19:41:27 +03:00
inode.c fs/ntfs3: Convert mount options to pointer in sbi 2021-09-09 19:28:52 +03:00
Kconfig fs/ntfs3: Add Kconfig, Makefile and doc 2021-08-13 07:56:37 -07:00
lznt.c fs/ntfs3: Restyle comments to better align with kernel-doc 2021-08-31 19:07:12 +03:00
Makefile fs/ntfs3: Add Kconfig, Makefile and doc 2021-08-13 07:56:37 -07:00
namei.c fs/ntfs3: Rework file operations 2021-08-31 19:07:11 +03:00
ntfs_fs.h fs/ntfs3: Add missing headers and forward declarations to ntfs_fs.h 2021-09-13 19:41:44 +03:00
ntfs.h fs/ntfs3: Add missing header files to ntfs.h 2021-09-13 19:41:44 +03:00
record.c fs/ntfs3: Restyle comments to better align with kernel-doc 2021-08-31 19:07:12 +03:00
run.c fs/ntfs3: Restyle comments to better align with kernel-doc 2021-08-30 18:39:14 +03:00
super.c fs/ntfs3: Show uid/gid always in show_options() 2021-09-09 19:28:54 +03:00
upcase.c fs/ntfs3: Restyle comments to better align with kernel-doc 2021-08-31 19:07:12 +03:00
xattr.c fs/ntfs3: Rename mount option no_acs_rules > (no)acsrules 2021-09-09 19:28:54 +03:00