Commit e4c44910 authored by David S. Miller's avatar David S. Miller

Fix build fallout from namei.h/jiffies.h changes.

- Include dcache.h/namei.h in fs/autofs/autofs_i.h not dirhash.c
- Include list.h and spinlock.h in dcache.h
- Include list.h in mount.h and namei.h
parent d0f0cde1
......@@ -23,6 +23,8 @@
#include <linux/time.h>
#include <linux/string.h>
#include <linux/wait.h>
#include <linux/dcache.h>
#include <linux/namei.h>
#include <asm/uaccess.h>
#ifdef DEBUG
......
......@@ -10,8 +10,6 @@
*
* ------------------------------------------------------------------------- */
#include <linux/dcache.h>
#include <linux/namei.h>
#include "autofs_i.h"
/* Functions for maintenance of expiry queue */
......
......@@ -5,6 +5,8 @@
#include <asm/atomic.h>
#include <linux/mount.h>
#include <linux/list.h>
#include <linux/spinlock.h>
#include <asm/page.h> /* for BUG() */
/*
......
#ifndef _LINUX_JIFFIES_H
#define _LINUX_JIFFIES_H
#include <linux/types.h>
/*
* The 64-bit value is not volatile - you MUST NOT read it
* without holding read_lock_irq(&xtime_lock)
......
......@@ -12,6 +12,8 @@
#define _LINUX_MOUNT_H
#ifdef __KERNEL__
#include <linux/list.h>
#define MNT_NOSUID 1
#define MNT_NODEV 2
#define MNT_NOEXEC 4
......
#ifndef _LINUX_NAMEI_H
#define _LINUX_NAMEI_H
#include <linux/linkage.h>
struct vfsmount;
struct nameidata {
......
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