Commit 908ac9f4 authored by Tom Rini's avatar Tom Rini Committed by Linus Torvalds

[PATCH] Move <linux/prio_tree.h> down in <linux/fs.h>

<linux/prio_tree.h> is unsafe for inclusion by userland apps, but it is in
the userland-exposed portion of <linux/fs.h>.  It's only needed in the
__KERNEL__ protected portion of the file, so move the #include down to
there.

lmbench-2.0.4 runs into this issue in 'flushdisk'.
Signed-off-by: default avatarTom Rini <trini@kernel.crashing.org>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 0c69f9e6
......@@ -16,7 +16,6 @@
#include <linux/dcache.h>
#include <linux/stat.h>
#include <linux/cache.h>
#include <linux/prio_tree.h>
#include <linux/kobject.h>
#include <asm/atomic.h>
......@@ -219,6 +218,7 @@ extern int dir_notify_enable;
#include <linux/list.h>
#include <linux/radix-tree.h>
#include <linux/prio_tree.h>
#include <linux/audit.h>
#include <linux/init.h>
#include <asm/semaphore.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