Commit 7190b86d authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] Fix userspace include of linux/fs.h

From: Mans Rullgard <mru@kth.se>

There are a few include which should have been under __KERNEL__.
parent 4f527e6a
......@@ -13,15 +13,12 @@
#include <linux/types.h>
#include <linux/kdev_t.h>
#include <linux/ioctl.h>
#include <linux/list.h>
#include <linux/dcache.h>
#include <linux/stat.h>
#include <linux/cache.h>
#include <linux/radix-tree.h>
#include <linux/prio_tree.h>
#include <linux/kobject.h>
#include <asm/atomic.h>
#include <linux/audit.h>
struct iovec;
struct nameidata;
......@@ -214,6 +211,9 @@ extern int leases_enable, dir_notify_enable, lease_break_time;
#ifdef __KERNEL__
#include <linux/list.h>
#include <linux/radix-tree.h>
#include <linux/audit.h>
#include <asm/semaphore.h>
#include <asm/byteorder.h>
......
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