Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
5a7a781f
Commit
5a7a781f
authored
Dec 31, 2002
by
Christoph Hellwig
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] include <linux/vfs.h> only in files actually needing it
fs.h only needs the forward-declaration of struct statfs
parent
038867f7
Changes
61
Hide whitespace changes
Inline
Side-by-side
Showing
61 changed files
with
70 additions
and
12 deletions
+70
-12
arch/alpha/kernel/osf_sys.c
arch/alpha/kernel/osf_sys.c
+1
-0
arch/ia64/ia32/sys_ia32.c
arch/ia64/ia32/sys_ia32.c
+1
-0
arch/mips/kernel/sysirix.c
arch/mips/kernel/sysirix.c
+1
-0
arch/mips64/kernel/linux32.c
arch/mips64/kernel/linux32.c
+1
-0
arch/parisc/hpux/sys_hpux.c
arch/parisc/hpux/sys_hpux.c
+1
-0
arch/parisc/kernel/sys_parisc32.c
arch/parisc/kernel/sys_parisc32.c
+1
-0
arch/s390x/kernel/linux32.c
arch/s390x/kernel/linux32.c
+1
-0
arch/sparc64/kernel/sys_sparc32.c
arch/sparc64/kernel/sys_sparc32.c
+1
-0
arch/sparc64/solaris/fs.c
arch/sparc64/solaris/fs.c
+1
-0
arch/x86_64/ia32/sys_ia32.c
arch/x86_64/ia32/sys_ia32.c
+1
-0
fs/adfs/super.c
fs/adfs/super.c
+1
-0
fs/affs/super.c
fs/affs/super.c
+1
-0
fs/befs/linuxvfs.c
fs/befs/linuxvfs.c
+1
-0
fs/bfs/inode.c
fs/bfs/inode.c
+1
-0
fs/cifs/cifsfs.c
fs/cifs/cifsfs.c
+1
-0
fs/cifs/cifsproto.h
fs/cifs/cifsproto.h
+2
-0
fs/cifs/cifssmb.c
fs/cifs/cifssmb.c
+1
-0
fs/coda/inode.c
fs/coda/inode.c
+1
-0
fs/coda/upcall.c
fs/coda/upcall.c
+1
-0
fs/cramfs/inode.c
fs/cramfs/inode.c
+1
-0
fs/efs/super.c
fs/efs/super.c
+1
-0
fs/ext2/super.c
fs/ext2/super.c
+1
-0
fs/ext3/super.c
fs/ext3/super.c
+1
-0
fs/fat/inode.c
fs/fat/inode.c
+1
-0
fs/freevxfs/vxfs_super.c
fs/freevxfs/vxfs_super.c
+1
-0
fs/hfs/super.c
fs/hfs/super.c
+1
-0
fs/hpfs/hpfs_fn.h
fs/hpfs/hpfs_fn.h
+2
-0
fs/hpfs/super.c
fs/hpfs/super.c
+1
-0
fs/isofs/inode.c
fs/isofs/inode.c
+1
-1
fs/jffs/inode-v23.c
fs/jffs/inode-v23.c
+1
-0
fs/jffs2/fs.c
fs/jffs2/fs.c
+1
-0
fs/jffs2/os-linux.h
fs/jffs2/os-linux.h
+1
-0
fs/jfs/super.c
fs/jfs/super.c
+2
-0
fs/libfs.c
fs/libfs.c
+1
-1
fs/minix/inode.c
fs/minix/inode.c
+1
-0
fs/ncpfs/inode.c
fs/ncpfs/inode.c
+1
-0
fs/nfs/inode.c
fs/nfs/inode.c
+1
-0
fs/nfsd/nfs3xdr.c
fs/nfsd/nfs3xdr.c
+1
-1
fs/nfsd/nfs4xdr.c
fs/nfsd/nfs4xdr.c
+1
-1
fs/nfsd/nfsxdr.c
fs/nfsd/nfsxdr.c
+1
-1
fs/nfsd/vfs.c
fs/nfsd/vfs.c
+1
-1
fs/ntfs/super.c
fs/ntfs/super.c
+1
-0
fs/open.c
fs/open.c
+1
-1
fs/qnx4/inode.c
fs/qnx4/inode.c
+1
-1
fs/reiserfs/super.c
fs/reiserfs/super.c
+1
-0
fs/smbfs/inode.c
fs/smbfs/inode.c
+1
-1
fs/smbfs/proc.c
fs/smbfs/proc.c
+1
-1
fs/smbfs/proto.h
fs/smbfs/proto.h
+1
-0
fs/super.c
fs/super.c
+1
-0
fs/sysv/inode.c
fs/sysv/inode.c
+1
-0
fs/udf/super.c
fs/udf/super.c
+1
-0
fs/ufs/super.c
fs/ufs/super.c
+1
-0
fs/xfs/linux/xfs_linux.h
fs/xfs/linux/xfs_linux.h
+1
-0
include/linux/coda_psdev.h
include/linux/coda_psdev.h
+2
-0
include/linux/efs_fs.h
include/linux/efs_fs.h
+2
-0
include/linux/ext3_fs.h
include/linux/ext3_fs.h
+3
-0
include/linux/fs.h
include/linux/fs.h
+1
-1
include/linux/msdos_fs.h
include/linux/msdos_fs.h
+3
-0
include/linux/nfsd/xdr.h
include/linux/nfsd/xdr.h
+1
-0
kernel/acct.c
kernel/acct.c
+1
-0
mm/shmem.c
mm/shmem.c
+1
-1
No files found.
arch/alpha/kernel/osf_sys.c
View file @
5a7a781f
...
...
@@ -35,6 +35,7 @@
#include <linux/ipc.h>
#include <linux/namei.h>
#include <linux/uio.h>
#include <linux/vfs.h>
#include <asm/fpu.h>
#include <asm/io.h>
...
...
arch/ia64/ia32/sys_ia32.c
View file @
5a7a781f
...
...
@@ -48,6 +48,7 @@
#include <linux/stat.h>
#include <linux/ipc.h>
#include <linux/compat.h>
#include <linux/vfs.h>
#include <asm/types.h>
#include <asm/uaccess.h>
...
...
arch/mips/kernel/sysirix.c
View file @
5a7a781f
...
...
@@ -22,6 +22,7 @@
#include <linux/smp_lock.h>
#include <linux/utsname.h>
#include <linux/file.h>
#include <linux/vfs.h>
#include <asm/ptrace.h>
#include <asm/page.h>
...
...
arch/mips64/kernel/linux32.c
View file @
5a7a781f
...
...
@@ -27,6 +27,7 @@
#include <linux/timex.h>
#include <linux/dnotify.h>
#include <linux/compat.h>
#include <linux/vfs.h>
#include <net/sock.h>
#include <asm/uaccess.h>
...
...
arch/parisc/hpux/sys_hpux.c
View file @
5a7a781f
...
...
@@ -10,6 +10,7 @@
#include <linux/smp_lock.h>
#include <linux/utsname.h>
#include <linux/vmalloc.h>
#include <linux/vfs.h>
#include <asm/errno.h>
#include <asm/pgalloc.h>
...
...
arch/parisc/kernel/sys_parisc32.c
View file @
5a7a781f
...
...
@@ -52,6 +52,7 @@
#include <linux/mman.h>
#include <linux/binfmts.h>
#include <linux/namei.h>
#include <linux/vfs.h>
#include <asm/types.h>
#include <asm/uaccess.h>
...
...
arch/s390x/kernel/linux32.c
View file @
5a7a781f
...
...
@@ -57,6 +57,7 @@
#include <linux/sysctl.h>
#include <linux/binfmts.h>
#include <linux/compat.h>
#include <linux/vfs.h>
#include <asm/types.h>
#include <asm/ipc.h>
...
...
arch/sparc64/kernel/sys_sparc32.c
View file @
5a7a781f
...
...
@@ -52,6 +52,7 @@
#include <linux/dnotify.h>
#include <linux/security.h>
#include <linux/compat.h>
#include <linux/vfs.h>
#include <asm/types.h>
#include <asm/ipc.h>
...
...
arch/sparc64/solaris/fs.c
View file @
5a7a781f
...
...
@@ -20,6 +20,7 @@
#include <linux/resource.h>
#include <linux/quotaops.h>
#include <linux/mount.h>
#include <linux/vfs.h>
#include <asm/uaccess.h>
#include <asm/string.h>
...
...
arch/x86_64/ia32/sys_ia32.c
View file @
5a7a781f
...
...
@@ -58,6 +58,7 @@
#include <linux/init.h>
#include <linux/aio_abi.h>
#include <linux/compat.h>
#include <linux/vfs.h>
#include <asm/mman.h>
#include <asm/types.h>
#include <asm/uaccess.h>
...
...
fs/adfs/super.c
View file @
5a7a781f
...
...
@@ -18,6 +18,7 @@
#include <linux/string.h>
#include <linux/init.h>
#include <linux/buffer_head.h>
#include <linux/vfs.h>
#include <asm/bitops.h>
#include <asm/uaccess.h>
...
...
fs/affs/super.c
View file @
5a7a781f
...
...
@@ -27,6 +27,7 @@
#include <linux/init.h>
#include <linux/smp_lock.h>
#include <linux/buffer_head.h>
#include <linux/vfs.h>
#include <asm/system.h>
#include <asm/uaccess.h>
...
...
fs/befs/linuxvfs.c
View file @
5a7a781f
...
...
@@ -12,6 +12,7 @@
#include <linux/stat.h>
#include <linux/nls.h>
#include <linux/buffer_head.h>
#include <linux/statfs.h>
#include "befs.h"
#include "btree.h"
...
...
fs/bfs/inode.c
View file @
5a7a781f
...
...
@@ -12,6 +12,7 @@
#include <linux/fs.h>
#include <linux/smp_lock.h>
#include <linux/buffer_head.h>
#include <linux/vfs.h>
#include <asm/uaccess.h>
#include "bfs.h"
...
...
fs/cifs/cifsfs.c
View file @
5a7a781f
...
...
@@ -31,6 +31,7 @@
#include <linux/version.h>
#include <linux/list.h>
#include <linux/seq_file.h>
#include <linux/vfs.h>
#include "cifsfs.h"
#include "cifspdu.h"
#define DECLARE_GLOBALS_HERE
...
...
fs/cifs/cifsproto.h
View file @
5a7a781f
...
...
@@ -22,6 +22,8 @@
#define _CIFSPROTO_H
#include <linux/nls.h>
struct
statfs
;
/*
*****************************************************************
* All Prototypes
...
...
fs/cifs/cifssmb.c
View file @
5a7a781f
...
...
@@ -25,6 +25,7 @@
#include <linux/fs.h>
#include <linux/kernel.h>
#include <linux/vfs.h>
#include <asm/uaccess.h>
#include "cifspdu.h"
#include "cifsglob.h"
...
...
fs/coda/inode.c
View file @
5a7a781f
...
...
@@ -17,6 +17,7 @@
#include <linux/unistd.h>
#include <linux/smp_lock.h>
#include <linux/file.h>
#include <linux/vfs.h>
#include <asm/system.h>
#include <asm/uaccess.h>
...
...
fs/coda/upcall.c
View file @
5a7a781f
...
...
@@ -29,6 +29,7 @@
#include <linux/string.h>
#include <asm/uaccess.h>
#include <linux/vmalloc.h>
#include <linux/vfs.h>
#include <linux/coda.h>
#include <linux/coda_linux.h>
...
...
fs/cramfs/inode.c
View file @
5a7a781f
...
...
@@ -22,6 +22,7 @@
#include <linux/slab.h>
#include <linux/cramfs_fs_sb.h>
#include <linux/buffer_head.h>
#include <linux/vfs.h>
#include <asm/semaphore.h>
#include <asm/uaccess.h>
...
...
fs/efs/super.c
View file @
5a7a781f
...
...
@@ -13,6 +13,7 @@
#include <linux/efs_fs_sb.h>
#include <linux/slab.h>
#include <linux/buffer_head.h>
#include <linux/vfs.h>
static
struct
super_block
*
efs_get_sb
(
struct
file_system_type
*
fs_type
,
int
flags
,
char
*
dev_name
,
void
*
data
)
...
...
fs/ext2/super.c
View file @
5a7a781f
...
...
@@ -25,6 +25,7 @@
#include <linux/random.h>
#include <linux/buffer_head.h>
#include <linux/smp_lock.h>
#include <linux/vfs.h>
#include <asm/uaccess.h>
#include "ext2.h"
#include "xattr.h"
...
...
fs/ext3/super.c
View file @
5a7a781f
...
...
@@ -29,6 +29,7 @@
#include <linux/blkdev.h>
#include <linux/smp_lock.h>
#include <linux/buffer_head.h>
#include <linux/vfs.h>
#include <asm/uaccess.h>
#include "xattr.h"
#include "acl.h"
...
...
fs/fat/inode.c
View file @
5a7a781f
...
...
@@ -19,6 +19,7 @@
#include <linux/pagemap.h>
#include <linux/buffer_head.h>
#include <linux/mount.h>
#include <linux/vfs.h>
#include <asm/unaligned.h>
/*
...
...
fs/freevxfs/vxfs_super.c
View file @
5a7a781f
...
...
@@ -41,6 +41,7 @@
#include <linux/kernel.h>
#include <linux/slab.h>
#include <linux/stat.h>
#include <linux/vfs.h>
#include "vxfs.h"
#include "vxfs_extern.h"
...
...
fs/hfs/super.c
View file @
5a7a781f
...
...
@@ -32,6 +32,7 @@
#include <linux/module.h>
#include <linux/init.h>
#include <linux/smp_lock.h>
#include <linux/vfs.h>
MODULE_LICENSE
(
"GPL"
);
...
...
fs/hpfs/hpfs_fn.h
View file @
5a7a781f
...
...
@@ -162,6 +162,8 @@ static inline unsigned tstbits(unsigned *bmp, unsigned b, unsigned n)
return
0
;
}
struct
statfs
;
/* alloc.c */
int
hpfs_chk_sectors
(
struct
super_block
*
,
secno
,
int
,
char
*
);
...
...
fs/hpfs/super.c
View file @
5a7a781f
...
...
@@ -11,6 +11,7 @@
#include "hpfs_fn.h"
#include <linux/module.h>
#include <linux/init.h>
#include <linux/vfs.h>
/* Mark the filesystem dirty, so that chkdsk checks it when os/2 booted */
...
...
fs/isofs/inode.c
View file @
5a7a781f
...
...
@@ -28,7 +28,7 @@
#include <linux/smp_lock.h>
#include <linux/blkdev.h>
#include <linux/buffer_head.h>
#include <linux/vfs.h>
#include <asm/system.h>
#include <asm/uaccess.h>
...
...
fs/jffs/inode-v23.c
View file @
5a7a781f
...
...
@@ -48,6 +48,7 @@
#include <linux/blkdev.h>
#include <linux/quotaops.h>
#include <linux/highmem.h>
#include <linux/vfs.h>
#include <asm/semaphore.h>
#include <asm/byteorder.h>
#include <asm/uaccess.h>
...
...
fs/jffs2/fs.c
View file @
5a7a781f
...
...
@@ -20,6 +20,7 @@
#include <linux/mtd/mtd.h>
#include <linux/pagemap.h>
#include <linux/slab.h>
#include <linux/vfs.h>
#include "nodelist.h"
int
jffs2_statfs
(
struct
super_block
*
sb
,
struct
statfs
*
buf
)
...
...
fs/jffs2/os-linux.h
View file @
5a7a781f
...
...
@@ -96,6 +96,7 @@ static inline void jffs2_init_inode_info(struct jffs2_inode_info *f)
#define jffs2_flash_write_oob(c, ofs, len, retlen, buf) ((c)->mtd->write_oob((c)->mtd, ofs, len, retlen, buf))
#define jffs2_flash_read_oob(c, ofs, len, retlen, buf) ((c)->mtd->read_oob((c)->mtd, ofs, len, retlen, buf))
struct
statfs
;
/* wbuf.c */
int
jffs2_flash_writev
(
struct
jffs2_sb_info
*
c
,
const
struct
iovec
*
vecs
,
unsigned
long
count
,
loff_t
to
,
size_t
*
retlen
);
...
...
fs/jfs/super.c
View file @
5a7a781f
...
...
@@ -21,7 +21,9 @@
#include <linux/config.h>
#include <linux/module.h>
#include <linux/completion.h>
#include <linux/vfs.h>
#include <asm/uaccess.h>
#include "jfs_incore.h"
#include "jfs_filsys.h"
#include "jfs_metapage.h"
...
...
fs/libfs.c
View file @
5a7a781f
...
...
@@ -4,7 +4,7 @@
*/
#include <linux/pagemap.h>
#include <linux/
smp_lock
.h>
#include <linux/
vfs
.h>
int
simple_getattr
(
struct
vfsmount
*
mnt
,
struct
dentry
*
dentry
,
struct
kstat
*
stat
)
...
...
fs/minix/inode.c
View file @
5a7a781f
...
...
@@ -15,6 +15,7 @@
#include <linux/slab.h>
#include <linux/init.h>
#include <linux/highuid.h>
#include <linux/vfs.h>
static
void
minix_read_inode
(
struct
inode
*
inode
);
static
void
minix_write_inode
(
struct
inode
*
inode
,
int
wait
);
...
...
fs/ncpfs/inode.c
View file @
5a7a781f
...
...
@@ -28,6 +28,7 @@
#include <linux/vmalloc.h>
#include <linux/init.h>
#include <linux/smp_lock.h>
#include <linux/vfs.h>
#include <linux/ncp_fs.h>
...
...
fs/nfs/inode.c
View file @
5a7a781f
...
...
@@ -33,6 +33,7 @@
#include <linux/smp_lock.h>
#include <linux/seq_file.h>
#include <linux/mount.h>
#include <linux/vfs.h>
#include <asm/system.h>
#include <asm/uaccess.h>
...
...
fs/nfsd/nfs3xdr.c
View file @
5a7a781f
...
...
@@ -14,7 +14,7 @@
#include <linux/dcache.h>
#include <linux/namei.h>
#include <linux/mm.h>
#include <linux/vfs.h>
#include <linux/sunrpc/xdr.h>
#include <linux/sunrpc/svc.h>
#include <linux/nfsd/nfsd.h>
...
...
fs/nfsd/nfs4xdr.c
View file @
5a7a781f
...
...
@@ -48,7 +48,7 @@
#include <linux/compatmac.h>
#include <linux/fs.h>
#include <linux/namei.h>
#include <linux/vfs.h>
#include <linux/sunrpc/xdr.h>
#include <linux/sunrpc/svc.h>
#include <linux/sunrpc/clnt.h>
...
...
fs/nfsd/nfsxdr.c
View file @
5a7a781f
...
...
@@ -9,7 +9,7 @@
#include <linux/types.h>
#include <linux/time.h>
#include <linux/nfs.h>
#include <linux/vfs.h>
#include <linux/sunrpc/xdr.h>
#include <linux/sunrpc/svc.h>
#include <linux/nfsd/nfsd.h>
...
...
fs/nfsd/vfs.c
View file @
5a7a781f
...
...
@@ -34,7 +34,7 @@
#include <linux/in.h>
#include <linux/module.h>
#include <linux/namei.h>
#include <linux/vfs.h>
#include <linux/sunrpc/svc.h>
#include <linux/nfsd/nfsd.h>
#ifdef CONFIG_NFSD_V3
...
...
fs/ntfs/super.c
View file @
5a7a781f
...
...
@@ -27,6 +27,7 @@
#include <linux/blkdev.h>
/* For bdev_hardsect_size(). */
#include <linux/backing-dev.h>
#include <linux/buffer_head.h>
#include <linux/vfs.h>
#include "ntfs.h"
#include "sysctl.h"
...
...
fs/open.c
View file @
5a7a781f
...
...
@@ -18,7 +18,7 @@
#include <linux/backing-dev.h>
#include <linux/security.h>
#include <linux/mount.h>
#include <linux/vfs.h>
#include <asm/uaccess.h>
#define special_file(m) (S_ISCHR(m)||S_ISBLK(m)||S_ISFIFO(m)||S_ISSOCK(m))
...
...
fs/qnx4/inode.c
View file @
5a7a781f
...
...
@@ -25,7 +25,7 @@
#include <linux/smp_lock.h>
#include <linux/pagemap.h>
#include <linux/buffer_head.h>
#include <linux/vfs.h>
#include <asm/uaccess.h>
#define QNX4_VERSION 4
...
...
fs/reiserfs/super.c
View file @
5a7a781f
...
...
@@ -21,6 +21,7 @@
#include <linux/init.h>
#include <linux/blkdev.h>
#include <linux/buffer_head.h>
#include <linux/vfs.h>
#define REISERFS_OLD_BLOCKSIZE 4096
#define REISERFS_SUPER_MAGIC_STRING_OFFSET_NJ 20
...
...
fs/smbfs/inode.c
View file @
5a7a781f
...
...
@@ -24,7 +24,7 @@
#include <linux/seq_file.h>
#include <linux/mount.h>
#include <linux/net.h>
#include <linux/vfs.h>
#include <linux/smb_fs.h>
#include <linux/smbno.h>
#include <linux/smb_mount.h>
...
...
fs/smbfs/proc.c
View file @
5a7a781f
...
...
@@ -19,7 +19,7 @@
#include <linux/nls.h>
#include <linux/smp_lock.h>
#include <linux/net.h>
#include <linux/vfs.h>
#include <linux/smb_fs.h>
#include <linux/smbno.h>
#include <linux/smb_mount.h>
...
...
fs/smbfs/proto.h
View file @
5a7a781f
...
...
@@ -4,6 +4,7 @@
struct
smb_request
;
struct
sock
;
struct
statfs
;
/* proc.c */
extern
int
smb_setcodepage
(
struct
smb_sb_info
*
server
,
struct
smb_nls_codepage
*
cp
);
...
...
fs/super.c
View file @
5a7a781f
...
...
@@ -30,6 +30,7 @@
#include <linux/buffer_head.h>
/* for fsync_super() */
#include <linux/mount.h>
#include <linux/security.h>
#include <linux/vfs.h>
#include <asm/uaccess.h>
...
...
fs/sysv/inode.c
View file @
5a7a781f
...
...
@@ -26,6 +26,7 @@
#include <linux/slab.h>
#include <linux/init.h>
#include <linux/buffer_head.h>
#include <linux/vfs.h>
#include <asm/byteorder.h>
#include "sysv.h"
...
...
fs/udf/super.c
View file @
5a7a781f
...
...
@@ -56,6 +56,7 @@
#include <linux/nls.h>
#include <linux/smp_lock.h>
#include <linux/buffer_head.h>
#include <linux/vfs.h>
#include <asm/byteorder.h>
#include <linux/udf_fs.h>
...
...
fs/ufs/super.c
View file @
5a7a781f
...
...
@@ -81,6 +81,7 @@
#include <linux/init.h>
#include <linux/smp_lock.h>
#include <linux/buffer_head.h>
#include <linux/vfs.h>
#include "swab.h"
#include "util.h"
...
...
fs/xfs/linux/xfs_linux.h
View file @
5a7a781f
...
...
@@ -42,6 +42,7 @@
#include <linux/sched.h>
#include <linux/bitops.h>
#include <linux/major.h>
#include <linux/vfs.h>
#include <asm/page.h>
#include <asm/div64.h>
...
...
include/linux/coda_psdev.h
View file @
5a7a781f
...
...
@@ -6,6 +6,8 @@
#define CODA_SUPER_MAGIC 0x73757245
struct
statfs
;
struct
coda_sb_info
{
struct
venus_comm
*
sbi_vcomm
;
...
...
include/linux/efs_fs.h
View file @
5a7a781f
...
...
@@ -49,6 +49,8 @@ static inline struct efs_sb_info *SUPER_INFO(struct super_block *sb)
return
sb
->
s_fs_info
;
}
struct
statfs
;
extern
struct
inode_operations
efs_dir_inode_operations
;
extern
struct
file_operations
efs_dir_operations
;
extern
struct
address_space_operations
efs_symlink_aops
;
...
...
include/linux/ext3_fs.h
View file @
5a7a781f
...
...
@@ -20,6 +20,9 @@
#include <linux/ext3_fs_i.h>
#include <linux/ext3_fs_sb.h>
struct
statfs
;
/*
* The second extended filesystem constants/structures
*/
...
...
include/linux/fs.h
View file @
5a7a781f
...
...
@@ -11,7 +11,6 @@
#include <linux/limits.h>
#include <linux/wait.h>
#include <linux/types.h>
#include <linux/vfs.h>
#include <linux/kdev_t.h>
#include <linux/ioctl.h>
#include <linux/list.h>
...
...
@@ -25,6 +24,7 @@ struct iovec;
struct
nameidata
;
struct
pipe_inode_info
;
struct
poll_table_struct
;
struct
statfs
;
struct
vm_area_struct
;
struct
vfsmount
;
...
...
include/linux/msdos_fs.h
View file @
5a7a781f
...
...
@@ -8,6 +8,9 @@
#include <linux/string.h>
#include <asm/byteorder.h>
struct
statfs
;
#define SECTOR_SIZE 512
/* sector size (bytes) */
#define SECTOR_BITS 9
/* log2(SECTOR_SIZE) */
#define MSDOS_DPB (MSDOS_DPS)
/* dir entries per block */
...
...
include/linux/nfsd/xdr.h
View file @
5a7a781f
...
...
@@ -8,6 +8,7 @@
#define LINUX_NFSD_H
#include <linux/fs.h>
#include <linux/vfs.h>
#include <linux/nfs.h>
struct
nfsd_fhandle
{
...
...
kernel/acct.c
View file @
5a7a781f
...
...
@@ -50,6 +50,7 @@
#include <linux/file.h>
#include <linux/tty.h>
#include <linux/security.h>
#include <linux/vfs.h>
#include <asm/uaccess.h>
/*
...
...
mm/shmem.c
View file @
5a7a781f
...
...
@@ -32,7 +32,7 @@
#include <linux/shmem_fs.h>
#include <linux/mount.h>
#include <linux/writeback.h>
#include <linux/vfs.h>
#include <asm/uaccess.h>
/* This magic number is used in glibc for posix shared memory */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment