Commit 754c5c66 authored by Christoph Hellwig's avatar Christoph Hellwig Committed by Linus Torvalds

[PATCH] include mount.h explicitly were needed

This is a preparation to get rid of the implicit includes in
dcache.h and fs_struct.h.
parent bb18cd7f
......@@ -12,6 +12,7 @@
* ------------------------------------------------------------------------- */
#include "autofs_i.h"
#include <linux/mount.h>
/*
* Determine if a subtree of the namespace is busy.
......
......@@ -25,6 +25,7 @@
#include <linux/file.h>
#include <linux/pagemap.h>
#include <linux/namei.h>
#include <linux/mount.h>
#include <asm/uaccess.h>
......
......@@ -20,6 +20,7 @@
#include <linux/blkpg.h>
#include <linux/buffer_head.h>
#include <linux/mpage.h>
#include <linux/mount.h>
#include <asm/uaccess.h>
......
......@@ -23,7 +23,7 @@
#include <linux/smp_lock.h>
#include <linux/cache.h>
#include <linux/module.h>
#include <linux/mount.h>
#include <asm/uaccess.h>
#define DCACHE_PARANOIA 1
......
......@@ -15,6 +15,7 @@
#include <linux/fs.h>
#include <linux/sched.h>
#include <linux/namei.h>
#include <linux/mount.h>
#define DEVPTS_SUPER_MAGIC 0x1cd1
......
......@@ -29,13 +29,14 @@
#include <linux/spinlock.h>
#include <linux/rwsem.h>
#include <linux/wait.h>
#include <linux/eventpoll.h>
#include <linux/mount.h>
#include <asm/bitops.h>
#include <asm/uaccess.h>
#include <asm/system.h>
#include <asm/io.h>
#include <asm/mman.h>
#include <asm/atomic.h>
#include <linux/eventpoll.h>
......
......@@ -43,6 +43,7 @@
#include <linux/namei.h>
#include <linux/proc_fs.h>
#include <linux/ptrace.h>
#include <linux/mount.h>
#include <asm/uaccess.h>
#include <asm/pgalloc.h>
......
......@@ -18,6 +18,7 @@
#include <linux/msdos_fs.h>
#include <linux/pagemap.h>
#include <linux/buffer_head.h>
#include <linux/mount.h>
#include <asm/unaligned.h>
/*
......
......@@ -14,6 +14,8 @@
#include <linux/fs.h>
#include <linux/security.h>
#include <linux/eventpoll.h>
#include <linux/mount.h>
/* sysctl tunables... */
struct files_stat_struct files_stat = {0, 0, NR_FILE};
......
......@@ -24,7 +24,7 @@
#include <linux/smp_lock.h>
#include <linux/personality.h>
#include <linux/security.h>
#include <linux/mount.h>
#include <asm/namei.h>
#include <asm/uaccess.h>
......
......@@ -19,7 +19,7 @@
#include <linux/seq_file.h>
#include <linux/namespace.h>
#include <linux/namei.h>
#include <linux/mount.h>
#include <asm/uaccess.h>
extern struct vfsmount *do_kern_mount(const char *type, int flags, char *name, void *data);
......
......@@ -32,6 +32,7 @@
#include <linux/lockd/bind.h>
#include <linux/smp_lock.h>
#include <linux/seq_file.h>
#include <linux/mount.h>
#include <asm/system.h>
#include <asm/uaccess.h>
......
......@@ -12,6 +12,7 @@
#include <linux/nfsd/syscall.h>
#include <linux/linkage.h>
#include <linux/namei.h>
#include <linux/mount.h>
#include <asm/uaccess.h>
/*
......
......@@ -17,6 +17,7 @@
#include <linux/string.h>
#include <linux/stat.h>
#include <linux/dcache.h>
#include <linux/mount.h>
#include <asm/pgtable.h>
#include <linux/sunrpc/svc.h>
......
......@@ -17,6 +17,7 @@
#include <linux/namei.h>
#include <linux/backing-dev.h>
#include <linux/security.h>
#include <linux/mount.h>
#include <asm/uaccess.h>
......
......@@ -11,7 +11,7 @@
#include <linux/module.h>
#include <linux/init.h>
#include <linux/fs.h>
#include <linux/mount.h>
#include <asm/uaccess.h>
#include <asm/ioctls.h>
......
......@@ -29,6 +29,7 @@
#include <linux/mm.h>
#include <linux/smp_lock.h>
#include <linux/kallsyms.h>
#include <linux/mount.h>
/*
* For hysterical raisins we keep the same inumbers as in the old procfs.
......
......@@ -8,15 +8,14 @@
* Copyright (C) 1997 Theodore Ts'o
*/
#include <asm/uaccess.h>
#include <linux/errno.h>
#include <linux/time.h>
#include <linux/proc_fs.h>
#include <linux/stat.h>
#define __NO_VERSION__
#include <linux/module.h>
#include <linux/mount.h>
#include <linux/smp_lock.h>
#include <asm/uaccess.h>
#include <asm/bitops.h>
static ssize_t proc_file_read(struct file * file, char * buf,
......
......@@ -28,6 +28,7 @@
#include <linux/quotaops.h>
#include <linux/namei.h>
#include <linux/buffer_head.h> /* for fsync_super() */
#include <linux/mount.h>
#include <asm/uaccess.h>
#include <linux/security.h>
......
......@@ -34,7 +34,7 @@
#include <linux/slab.h>
#include <linux/backing-dev.h>
#include <linux/kobject.h>
#include <linux/mount.h>
#include <asm/uaccess.h>
/* Random magic number */
......
......@@ -6,6 +6,7 @@
*/
#include <linux/buffer_head.h>
#include <linux/mount.h>
#include "sysv.h"
enum {DIRECT = 10, DEPTH = 4}; /* Have triple indirect */
......
......@@ -35,6 +35,7 @@
#include <xfs_dfrag.h>
#include <linux/dcache.h>
#include <linux/namei.h>
#include <linux/mount.h>
extern int xfs_change_file_space(bhv_desc_t *, int,
......
......@@ -39,6 +39,7 @@
#include <linux/init.h>
#include <linux/ctype.h>
#include <linux/seq_file.h>
#include <linux/mount.h>
#include "xfs_version.h"
/* xfs_vfs[ops].c */
......
......@@ -12,6 +12,7 @@
#include <linux/init.h>
#include <linux/suspend.h>
#include <linux/root_dev.h>
#include <linux/mount.h>
#include <linux/nfs_fs.h>
#include <linux/nfs_fs_sb.h>
......
......@@ -20,6 +20,7 @@
#include <linux/binfmts.h>
#include <linux/ptrace.h>
#include <linux/profile.h>
#include <linux/mount.h>
#include <asm/uaccess.h>
#include <asm/pgtable.h>
......
......@@ -33,6 +33,7 @@
#include <linux/init.h>
#include <linux/futex.h>
#include <linux/vcache.h>
#include <linux/mount.h>
#define FUTEX_HASHBITS 8
......
......@@ -29,7 +29,7 @@
#include <linux/completion.h>
#include <linux/file.h>
#include <linux/workqueue.h>
#include <linux/mount.h>
#include <asm/uaccess.h>
extern int max_threads, system_running;
......
......@@ -53,6 +53,7 @@
#include <linux/percpu.h>
#include <linux/smp_lock.h>
#include <linux/dnotify.h>
#include <linux/mount.h>
#include <asm/checksum.h>
#if defined(CONFIG_PROC_FS)
......
......@@ -30,6 +30,7 @@
#include <linux/slab.h>
#include <linux/backing-dev.h>
#include <linux/shmem_fs.h>
#include <linux/mount.h>
#include <asm/uaccess.h>
......
......@@ -77,6 +77,7 @@
#include <linux/highmem.h>
#include <linux/wireless.h>
#include <linux/divert.h>
#include <linux/mount.h>
#if defined(CONFIG_KMOD) && defined(CONFIG_NET)
#include <linux/kmod.h>
......
......@@ -112,6 +112,7 @@
#include <linux/poll.h>
#include <linux/smp_lock.h>
#include <linux/rtnetlink.h>
#include <linux/mount.h>
#include <net/checksum.h>
int sysctl_unix_max_dgram_qlen = 10;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment